diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2018-03-09 16:33:09 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2018-03-09 16:33:09 +0800 |
commit | 122e3740c1b7700d2100d5d97e17e8571cdfe748 (patch) | |
tree | 030346d10d69662e7006b9bf4c6f6d2a3efa4843 | |
parent | 5267d0c4562a2c0a44f2430815ddeb015dd3975e (diff) | |
download | freebsd-ports-gnome-122e3740c1b7700d2100d5d97e17e8571cdfe748.tar.gz freebsd-ports-gnome-122e3740c1b7700d2100d5d97e17e8571cdfe748.tar.zst freebsd-ports-gnome-122e3740c1b7700d2100d5d97e17e8571cdfe748.zip |
- Switch to new test framework
- Unsilence installation commands as per PHB
- Switch to options helpers
Approved by: portmgr blanket
-rw-r--r-- | misc/figlet/Makefile | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/misc/figlet/Makefile b/misc/figlet/Makefile index 434b1367ff1f..6efed8582154 100644 --- a/misc/figlet/Makefile +++ b/misc/figlet/Makefile @@ -15,25 +15,22 @@ LICENSE_FILE= ${WRKSRC}/LICENSE MAKE_ENV= datadir=${DATADIR} prefix=${PREFIX} MAKE_ARGS= LD=${CC} +TEST_TARGET= check OPTIONS_DEFINE= DOCS -regression-test: - @ cd ${WRKSRC} && ${MAKE} check - -post-build tests test: regression-test - do-install: - @ ${MKDIR} ${STAGEDIR}${DATADIR} - @ ${INSTALL_PROGRAM} ${WRKSRC}/figlet ${STAGEDIR}${PREFIX}/bin - @ ${INSTALL_PROGRAM} ${WRKSRC}/chkfont ${STAGEDIR}${PREFIX}/bin - @ ${INSTALL_SCRIPT} ${WRKSRC}/figlist ${STAGEDIR}${PREFIX}/bin - @ ${INSTALL_SCRIPT} ${WRKSRC}/showfigfonts ${STAGEDIR}${PREFIX}/bin - @ ${INSTALL_DATA} ${WRKSRC}/fonts/*.flf ${STAGEDIR}${DATADIR} - @ ${INSTALL_DATA} ${WRKSRC}/fonts/*.flc ${STAGEDIR}${DATADIR} - @ cd ${WRKSRC} && ${INSTALL_MAN} *.6 ${STAGEDIR}${PREFIX}/man/man6 - - @ ${MKDIR} ${STAGEDIR}${DOCSDIR} - @ ${INSTALL_DATA} ${WRKSRC}/figfont.txt ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/figlet ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/chkfont ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/figlist ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/showfigfonts ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/fonts/*.flf ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/fonts/*.flc ${STAGEDIR}${DATADIR} + ${INSTALL_MAN} ${WRKSRC}/*.6 ${STAGEDIR}${MANPREFIX}/man/man6 + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/figfont.txt ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |