diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-09-02 03:46:18 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-09-02 03:46:18 +0800 |
commit | 178311f6b620c1062776082f353590cbd70b15e9 (patch) | |
tree | e3b3f102c7fdd7d2e908c0c3769b55250d03507a /devel/kaptain | |
parent | 6bd05f47f95bcdb7e274c31e32f799673e91afab (diff) | |
download | freebsd-ports-gnome-178311f6b620c1062776082f353590cbd70b15e9.tar.gz freebsd-ports-gnome-178311f6b620c1062776082f353590cbd70b15e9.tar.zst freebsd-ports-gnome-178311f6b620c1062776082f353590cbd70b15e9.zip |
- Add LICENSE_FILE
- Switch to options helpers
Diffstat (limited to 'devel/kaptain')
-rw-r--r-- | devel/kaptain/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/devel/kaptain/Makefile b/devel/kaptain/Makefile index a20ccefb99c9..20573c5eb60a 100644 --- a/devel/kaptain/Makefile +++ b/devel/kaptain/Makefile @@ -10,8 +10,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Tool for building/running Qt GUIs for command line programs LICENSE= GPLv2 # (or later) - -OPTIONS_DEFINE= DOCS EXAMPLES +LICENSE_FILE= ${WRKSRC}/COPYING USES= qmake tar:tgz USE_QT4= qt3support moc_build @@ -22,7 +21,7 @@ PORTEXAMPLES= * PLIST_FILES= bin/kaptain \ man/man1/kaptain.1.gz -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @${REINPLACE_CMD} -e \ @@ -35,16 +34,16 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/kaptain ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/man/kaptain.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/doc/kaptain.info ${STAGEDIR}${PREFIX}/${INFO_PATH} -.if ${PORT_OPTIONS:MDOCS} + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc \ && ${INSTALL_DATA} *.gif *.html *.png *.tgz ${STAGEDIR}${DOCSDIR}) -.endif -.if ${PORT_OPTIONS:MEXAMPLES} + +do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples \ && ${INSTALL_DATA} *.kaptn *.tgz ${STAGEDIR}${EXAMPLESDIR}) -.endif .include <bsd.port.mk> |