svn commit: r479165 - head/graphics/libnsgif

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Thu Sep 6 21:58:11 UTC 2018


Author: sunpoet
Date: Thu Sep  6 21:58:10 2018
New Revision: 479165
URL: https://svnweb.freebsd.org/changeset/ports/479165

Log:
  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:		231201
  Submitted by:	Neel Chauhan <neel at neelc.org>

Modified:
  head/graphics/libnsgif/Makefile

Modified: head/graphics/libnsgif/Makefile
==============================================================================
--- head/graphics/libnsgif/Makefile	Thu Sep  6 21:58:05 2018	(r479164)
+++ head/graphics/libnsgif/Makefile	Thu Sep  6 21:58:10 2018	(r479165)
@@ -3,11 +3,11 @@
 
 PORTNAME=	libnsgif
 PORTVERSION=	0.2.1
+DISTVERSIONSUFFIX=	-src
 CATEGORIES=	graphics
 MASTER_SITES=	http://download.netsurf-browser.org/libs/releases/
-DISTNAME=	${PORTNAME}-${PORTVERSION}-src
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	neel at neelc.org
 COMMENT=	NetSurf GIF Decoder
 
 LICENSE=	MIT
@@ -17,11 +17,11 @@ BUILD_DEPENDS=	netsurf-buildsystem>=1.5:devel/netsurf-
 
 USES=		gmake
 USE_LDCONFIG=	yes
-WRKSRC=		${WRKDIR}/${DISTNAME:S/-src//}
-MAKE_ENV+=	COMPONENT_TYPE="lib-shared"
-PLIST_SUB+=	VERSION=${PORTVERSION}
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+MAKE_ENV=	COMPONENT_TYPE="lib-shared"
+PLIST_SUB=	VERSION=${PORTVERSION}
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnsgif.so*
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnsgif.so
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list