diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-04 23:11:33 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-04 23:11:33 +0000 |
commit | a36cc6f76069b486e45004dd475af0181e2d50a3 (patch) | |
tree | 980687f44e6ea0b8061f73b70997b5ed094b78d7 /www/goose | |
parent | f093667af6bed85e379cf39682c94edcbfba0c61 (diff) | |
download | ports-a36cc6f76069b486e45004dd475af0181e2d50a3.tar.gz ports-a36cc6f76069b486e45004dd475af0181e2d50a3.zip |
Notes
Diffstat (limited to 'www/goose')
-rw-r--r-- | www/goose/Makefile | 8 | ||||
-rw-r--r-- | www/goose/pkg-plist | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/www/goose/Makefile b/www/goose/Makefile index 9ecfbfb5decc..d5d46358739f 100644 --- a/www/goose/Makefile +++ b/www/goose/Makefile @@ -22,24 +22,24 @@ USES= perl5 WRKSRC= ${WRKDIR}/${PORTNAME} POD2MAN?= pod2man +OPTIONS_DEFINE= EXAMPLES + post-patch: - @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \ + ${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \ -e "s|%%DATADIR%%|${DATADIR}|g" \ -e "s|%%EXAMPLESDIR%%|${EXAMPLESDIR}|g" \ -e "s|/usr/local/bin/url_handler.sh|${LOCALBASE}/urlview|" \ ${WRKSRC}/goose do-build: - @cd ${WRKSRC} && ${POD2MAN} goose > goose.1 + cd ${WRKSRC} && ${POD2MAN} goose > goose.1 do-install: ${INSTALL_SCRIPT} ${WRKSRC}/goose ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/GoogleSearch.wsdl ${STAGEDIR}${DATADIR} ${INSTALL_MAN} ${WRKSRC}/goose.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 -.if !defined(NOPORTDOCS) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/goose.conf.example ${STAGEDIR}${EXAMPLESDIR} -.endif .include <bsd.port.mk> diff --git a/www/goose/pkg-plist b/www/goose/pkg-plist index 766365f72237..f8e236f2ab81 100644 --- a/www/goose/pkg-plist +++ b/www/goose/pkg-plist @@ -1,6 +1,6 @@ bin/goose man/man1/goose.1.gz %%DATADIR%%/GoogleSearch.wsdl -%%PORTDOCS%%%%EXAMPLESDIR%%/goose.conf.example -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/goose.conf.example +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% @dirrm %%DATADIR%% |