diff options
author | bapt <bapt@FreeBSD.org> | 2013-12-11 04:59:41 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-12-11 04:59:41 +0800 |
commit | a215773f7e5f4855ad79a7da873ce897a2d39919 (patch) | |
tree | 368f9a693574253253e070b0d6afe3d204518348 /devel | |
parent | a9a1738da4f8b0e35af36c3cb2b64fabf644899a (diff) | |
download | freebsd-ports-gnome-a215773f7e5f4855ad79a7da873ce897a2d39919.tar.gz freebsd-ports-gnome-a215773f7e5f4855ad79a7da873ce897a2d39919.tar.zst freebsd-ports-gnome-a215773f7e5f4855ad79a7da873ce897a2d39919.zip |
Support stage
Diffstat (limited to 'devel')
-rw-r--r-- | devel/argtable/Makefile | 32 | ||||
-rw-r--r-- | devel/argtable/pkg-plist | 1 |
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 |