1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00

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:		231203
Submitted by:	Neel Chauhan <neel@neelc.org>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-09-06 21:58:20 +00:00
parent e55aa9f8e6
commit b9c2974201
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=479167

View File

@ -3,11 +3,11 @@
PORTNAME= libnsutils
PORTVERSION= 0.0.5
DISTVERSIONSUFFIX= -src
CATEGORIES= devel
MASTER_SITES= http://download.netsurf-browser.org/libs/releases/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
MAINTAINER= neel@neelc.org
COMMENT= NetSurf generalised utility library
LICENSE= MIT
@ -18,13 +18,13 @@ BUILD_DEPENDS= netsurf-buildsystem>=1.5:devel/netsurf-buildsystem
USES= gmake
USE_LDCONFIG= yes
MAKE_ENV+= COMPONENT_TYPE="lib-shared"
MAKE_ENV= COMPONENT_TYPE="lib-shared"
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLIST_SUB+= VERSION=${PORTVERSION}
PLIST_SUB= VERSION=${PORTVERSION}
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnsutils.so*
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnsutils.so
.include <bsd.port.mk>