aboutsummaryrefslogtreecommitdiffstats
path: root/devel/bglibs
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-01-17 05:39:21 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-01-17 05:39:21 +0800
commit2f95a4bde8b97a5952c31a1ca6613bf8151a6fa0 (patch)
tree040df10b1eed621189ee7410d9c8dfabb491ea7c /devel/bglibs
parent3551e7c291d99170200383e6e4d7be0435f9dae9 (diff)
downloadfreebsd-ports-gnome-2f95a4bde8b97a5952c31a1ca6613bf8151a6fa0.tar.gz
freebsd-ports-gnome-2f95a4bde8b97a5952c31a1ca6613bf8151a6fa0.tar.zst
freebsd-ports-gnome-2f95a4bde8b97a5952c31a1ca6613bf8151a6fa0.zip
- Clarify LICENSE
- Add LICENSE_FILE - Switch to options helpers - Switch to new test framework
Diffstat (limited to 'devel/bglibs')
-rw-r--r--devel/bglibs/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/devel/bglibs/Makefile b/devel/bglibs/Makefile
index 259698056e07..0d5fb5b4bbd6 100644
--- a/devel/bglibs/Makefile
+++ b/devel/bglibs/Makefile
@@ -12,7 +12,8 @@ MASTER_SITES= http://untroubled.org/${PORTNAME}/archive/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= One stop library package by Bruce Guenter
-LICENSE= LGPL21
+LICENSE= LGPL21+
+LICENSE_FILE= ${WRKSRC}/COPYING
USES= libtool:build perl5
USE_PERL5= run
@@ -25,7 +26,7 @@ DOCS= NEWS README TODO doc/html/*
OPTIONS_DEFINE= DOCS
post-patch:
- ${REINPLACE_CMD} '/main/s/^void/int/' ${WRKSRC}/sys/try*.c
+ @${REINPLACE_CMD} '/main/s/^void/int/' ${WRKSRC}/sys/try*.c
do-configure:
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
@@ -37,11 +38,13 @@ do-configure:
${ECHO_CMD} "${STAGEDIR}${BGLIBS_LIB}" > ${WRKSRC}/conf-lib
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/bglibs/*.so
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/bglibs/*.so
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
-selftest: build
+do-test:
cd ${WRKSRC} && ${SH} selftests.sh
.include <bsd.port.mk>