head	1.1;
access;
symbols
	RELEASE_8_3_0:1.1
	RELEASE_9_0_0:1.1
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1;
locks; strict;
comment	@# @;


1.1
date	2006.08.06.10.53.54;	author jkoshy;	state Exp;
branches;
next	;


desc
@@


1.1
log
@- Honor CC, CFLAGS etc.				[1]
- Use BSD_INSTALL_* macros to install files.	[1]
- Make the port PREFIX clean.

PR:		ports/101398	[1]
Submitted by:	Stanislav Sedov <ssedov@@mbsd.msk.ru>
@
text
@--- contrib/mletags/Makefile.orig	Thu Dec 24 00:36:56 1998
+++ contrib/mletags/Makefile	Sun Aug  6 12:13:31 2006
@@@@ -1,9 +1,9 @@@@
 # Configuration
-CPP=/lib/cpp -P
-CAMLC=camlc
+CPP=/usr/bin/cpp -P
+CAMLC=${PREFIX}/bin/camlc
 CAMLCOMP=$(CAMLC) -c -g
-CAMLLEX=camllex
-CAMLYACC=camlyacc
+CAMLLEX=${PREFIX}/bin/camllex
+CAMLYACC=${PREFIX}/bin/camlyacc
 
 COMPFLAGS=-W -O fast
 LINKFLAGS=-g
@@@@ -14,7 +14,7 @@@@
 all: mletags
 
 mletags: $(OBJS)
-	camlc -o mletags $(LINKFLAGS) $(OBJS)
+	$(CAMLC) -o mletags $(LINKFLAGS) $(OBJS)
 
 lexer.mll: lexer.mlp
 	$(CPP) -Dunix lexer.mlp > lexer.mll
@@@@ -37,8 +37,8 @@@@
 	compress mletags.tar
 
 install: mletags mletags.man
-	cp mletags $(BINDIR)
-	cp mletags.man $(MANDIR)/mletags.$(MANEXT)
+	${BSD_INSTALL_SCRIPT} mletags $(BINDIR)
+	${BSD_INSTALL_MAN} mletags.man $(MANDIR)/mletags.$(MANEXT)
 
 TAGS:
 	./mletags *.ml *.mli
@
