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>
This commit is contained in:
parent
8d2308c1d3
commit
6dce61868a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=479169
1 changed files with 6 additions and 6 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue