aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-12-10 20:59:41 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-12-10 20:59:41 +0000
commit3c2e1c966e2e4da89b1bf56508c80b5d9683e4dd (patch)
tree368f9a693574253253e070b0d6afe3d204518348
parent714576d1d718b1e8924d8c967b8eda5a6b4f2adb (diff)
downloadports-3c2e1c966e2e4da89b1bf56508c80b5d9683e4dd.tar.gz
ports-3c2e1c966e2e4da89b1bf56508c80b5d9683e4dd.zip
Notes
-rw-r--r--devel/argtable/Makefile32
-rw-r--r--devel/argtable/pkg-plist1
2 files changed, 14 insertions, 19 deletions
diff --git a/devel/argtable/Makefile b/devel/argtable/Makefile
index 3cb7bb8ef10d..055548dbe93d 100644
--- a/devel/argtable/Makefile
+++ b/devel/argtable/Makefile
@@ -8,33 +8,27 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
DISTNAME= ${PORTNAME}${PORTVERSION:S/./-/}
MAINTAINER= ports@FreeBSD.org
-COMMENT= An ANSI C library for parsing GNU style command line arguments
+COMMENT= ANSI C library for parsing GNU style command line arguments
+
+OPTIONS_DEFINE= DOCS EXAMPLES
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
-MAN3= argtable2.3
-MLINKS= argtable2.3 argtable.3
-
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||g ; \
s|^install-data-am: |install-data-am: #|g' ${WRKSRC}/Makefile.in
post-install:
- ${INSTALL_MAN} ${WRKSRC}/doc/argtable2.3 ${MAN3PREFIX}/man/man3
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/*.gif ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${DOCSDIR}
-.endif
-.if !defined(NOPORTEXAMPLES)
- @${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/example/*.c ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/example/*.h ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/example/*.txt ${EXAMPLESDIR}
-.endif
+ ${INSTALL_MAN} ${WRKSRC}/doc/argtable2.3 ${STAGEDIR}${MAN3PREFIX}/man/man3
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.gif ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/example/*.c ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/example/*.h ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/example/*.txt ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
diff --git a/devel/argtable/pkg-plist b/devel/argtable/pkg-plist
index 24dd4f0aaa13..9b90ae5362e4 100644
--- a/devel/argtable/pkg-plist
+++ b/devel/argtable/pkg-plist
@@ -3,6 +3,7 @@ lib/libargtable2.a
lib/libargtable2.la
lib/libargtable2.so
lib/libargtable2.so.1
+man/man3/argtable2.3.gz
%%PORTDOCS%%%%DOCSDIR%%/arg_int.gif
%%PORTDOCS%%%%DOCSDIR%%/argtable2-advanced.html
%%PORTDOCS%%%%DOCSDIR%%/argtable2-advanced.pdf