aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/avce00/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/devel/avce00/Makefile b/devel/avce00/Makefile
index c4df7c991831..0b3e4cd45004 100644
--- a/devel/avce00/Makefile
+++ b/devel/avce00/Makefile
@@ -1,17 +1,13 @@
-# New ports collection makefile for: avce00
-# Date created: 04 May 2008
-# Whom: Wen Heping <wenheping@gmail.com>
-#
+# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
-#
PORTNAME= avce00
PORTVERSION= 2.0.0
CATEGORIES= devel
MASTER_SITES= http://avce00.maptools.org/dl/
-MAINTAINER= wenheping@gmail.com
-COMMENT= An OpenSource C library convert Arc/Info Vector Coverages to E00
+MAINTAINER= wen@FreeBSD.org
+COMMENT= OpenSource C library convert Arc/Info Vector Coverages to E00
USE_GMAKE= yes
ALL_TARGET= default
@@ -25,9 +21,10 @@ PLIST_FILES= bin/avcimport bin/avcexport bin/avcdelete \
PORTDOCS= avce00.html
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
post-extract:
+ ${REINPLACE_CMD} -e 's#gcc#${CC}#g' ${WRKSRC}/GNUmakefile
${CP} ${WRKSRC}/GNUmakefile ${WRKSRC}/Makefile
.if ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
@${REINPLACE_CMD} -e 's#LSB#MSB#g' ${WRKSRC}/Makefile
@@ -41,9 +38,9 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/avc.h ${PREFIX}/include
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/avce00.html ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>