aboutsummaryrefslogtreecommitdiff
path: root/graphics/libnsbmp
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-09-06 21:58:15 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-09-06 21:58:15 +0000
commite55aa9f8e6968441c9b692cc9a73fc9c45ecbbcd (patch)
tree38ac2ce070085665bbf2b827fa38d7be90556492 /graphics/libnsbmp
parentc16bd9dca5d2f0e55408cf22bdb3e28db19a3338 (diff)
downloadports-e55aa9f8e6968441c9b692cc9a73fc9c45ecbbcd.tar.gz
ports-e55aa9f8e6968441c9b692cc9a73fc9c45ecbbcd.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: 231202 Submitted by: Neel Chauhan <neel@neelc.org>
Notes
Notes: svn path=/head/; revision=479166
Diffstat (limited to 'graphics/libnsbmp')
-rw-r--r--graphics/libnsbmp/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/graphics/libnsbmp/Makefile b/graphics/libnsbmp/Makefile
index bd1a2cbd3fd6..f5ff3cf8a131 100644
--- a/graphics/libnsbmp/Makefile
+++ b/graphics/libnsbmp/Makefile
@@ -3,11 +3,11 @@
PORTNAME= libnsbmp
PORTVERSION= 0.1.5
+DISTVERSIONSUFFIX= -src
CATEGORIES= graphics
MASTER_SITES= http://download.netsurf-browser.org/libs/releases/
-DISTNAME= ${PORTNAME}-${PORTVERSION}-src
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= neel@neelc.org
COMMENT= NetSurf BMP decoder
LICENSE= MIT
@@ -17,13 +17,13 @@ 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"
-PLIST_SUB+= VERSION=${PORTVERSION}
+PLIST_SUB= VERSION=${PORTVERSION}
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnsbmp.so*
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnsbmp.so
.include <bsd.port.mk>