diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2018-09-07 05:58:30 +0800 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2018-09-07 05:58:30 +0800 |
commit | 6dce61868afbb7cc2762ade2e4f1a21af4ca009b (patch) | |
tree | 24a8b85ea6924295f7b475a33a50259f2102aeec /textproc/libwapcaplet | |
parent | 8d2308c1d3f554ee1ff7cd1ebd2c9d9fcae70a1a (diff) | |
download | freebsd-ports-gnome-6dce61868afbb7cc2762ade2e4f1a21af4ca009b.tar.gz freebsd-ports-gnome-6dce61868afbb7cc2762ade2e4f1a21af4ca009b.tar.zst freebsd-ports-gnome-6dce61868afbb7cc2762ade2e4f1a21af4ca009b.zip |
Pass maintainership to submitter
- While I'm here:
- Use DISTVERSIONSUFFIX instead of DISTNAME
- Use = instead of += for MAKE_ENV and PLIST_SUB
- Update post-install: to avoid stripping shared library multiple times
PR: 231205
Submitted by: Neel Chauhan <neel@neelc.org>
Diffstat (limited to 'textproc/libwapcaplet')
-rw-r--r-- | textproc/libwapcaplet/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/textproc/libwapcaplet/Makefile b/textproc/libwapcaplet/Makefile index 39c71298ebb8..b4ace08eb95b 100644 --- a/textproc/libwapcaplet/Makefile +++ b/textproc/libwapcaplet/Makefile @@ -3,11 +3,11 @@ PORTNAME= libwapcaplet PORTVERSION= 0.4.1 +DISTVERSIONSUFFIX= -src CATEGORIES= textproc MASTER_SITES= http://download.netsurf-browser.org/libs/releases/ -DISTNAME= ${PORTNAME}-${PORTVERSION}-src -MAINTAINER= ports@FreeBSD.org +MAINTAINER= neel@neelc.org COMMENT= String internment library LICENSE= MIT @@ -18,14 +18,14 @@ BUILD_DEPENDS= netsurf-buildsystem>=1.5:devel/netsurf-buildsystem \ USES= gmake USE_LDCONFIG= yes -WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//} +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -MAKE_ENV+= COMPONENT_TYPE="lib-shared" \ +MAKE_ENV= COMPONENT_TYPE="lib-shared" \ FLEX="${LOCALBASE}/bin/flex" -PLIST_SUB+= VERSION=${PORTVERSION} +PLIST_SUB= VERSION=${PORTVERSION} post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libwapcaplet.so* + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libwapcaplet.so .include <bsd.port.mk> |