aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2013-09-15 02:48:18 +0000
committerWen Heping <wen@FreeBSD.org>2013-09-15 02:48:18 +0000
commit9702914ca3b10ab6baf0c6edd9b59de32b99ed0a (patch)
treeaa9fdf79d980cc48820b14c874ecf9e2376e728e /devel
parent31002c0394cbeb4aacfd236b94aaf6dcb62bffff (diff)
downloadports-9702914ca3b10ab6baf0c6edd9b59de32b99ed0a.tar.gz
ports-9702914ca3b10ab6baf0c6edd9b59de32b99ed0a.zip
Notes
Diffstat (limited to 'devel')
-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>