diff options
author | vanilla <vanilla@FreeBSD.org> | 2013-11-13 20:50:18 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2013-11-13 20:50:18 +0800 |
commit | 7b3a35e050a86d43e5826c3cf7c04ad4edd0eb84 (patch) | |
tree | 6ead876c581f1f144c740c1ec88671868ab31586 /sysutils/fileschanged | |
parent | b8501d6b443e0f5f220a45efb692bb49da562972 (diff) | |
download | freebsd-ports-gnome-7b3a35e050a86d43e5826c3cf7c04ad4edd0eb84.tar.gz freebsd-ports-gnome-7b3a35e050a86d43e5826c3cf7c04ad4edd0eb84.tar.zst freebsd-ports-gnome-7b3a35e050a86d43e5826c3cf7c04ad4edd0eb84.zip |
Support STAGEDIR.
Diffstat (limited to 'sysutils/fileschanged')
-rw-r--r-- | sysutils/fileschanged/Makefile | 23 | ||||
-rw-r--r-- | sysutils/fileschanged/pkg-plist | 8 |
2 files changed, 20 insertions, 11 deletions
diff --git a/sysutils/fileschanged/Makefile b/sysutils/fileschanged/Makefile index 58e9b755e3ce..248b019204d1 100644 --- a/sysutils/fileschanged/Makefile +++ b/sysutils/fileschanged/Makefile @@ -10,12 +10,11 @@ MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Utility that reports when files have been altered -BUILD_DEPENDS= ${LOCALBASE}/include/argp.h:${PORTSDIR}/devel/argp-standalone \ - help2man:${PORTSDIR}/misc/help2man +LIB_DEPENDS= libargp.so:${PORTSDIR}/devel/argp-standalone +BUILD_DEPENDS= help2man:${PORTSDIR}/misc/help2man GNU_CONFIGURE= yes -NO_STAGE= yes -USE_GMAKE= yes +USES= gmake USE_FAM= yes CONFIGURE_ENV+= LIBS="-largp" CPPFLAGS+= -I${LOCALBASE}/include @@ -23,15 +22,17 @@ LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --datadir=${PREFIX}/share/doc --disable-nls INFO= fileschanged -MAN1= fileschanged.1 -PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README -PLIST_FILES= bin/fileschanged +DOCS= AUTHORS ChangeLog INSTALL NEWS README + +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> -.if !defined(NOPORTDOCS) post-install: - ${MKDIR} ${DOCSDIR} -.for DOCFILE in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${DOCFILE} ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR} +.for DOCFILE in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${DOCFILE} ${STAGEDIR}${DOCSDIR} .endfor .endif diff --git a/sysutils/fileschanged/pkg-plist b/sysutils/fileschanged/pkg-plist new file mode 100644 index 000000000000..0be7c3602b20 --- /dev/null +++ b/sysutils/fileschanged/pkg-plist @@ -0,0 +1,8 @@ +bin/fileschanged +man/man1/fileschanged.1.gz +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% |