svn commit: r479163 - head/textproc/libcss

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


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

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

Modified:
  head/textproc/libcss/Makefile

Modified: head/textproc/libcss/Makefile
==============================================================================
--- head/textproc/libcss/Makefile	Thu Sep  6 21:49:02 2018	(r479162)
+++ head/textproc/libcss/Makefile	Thu Sep  6 21:58:00 2018	(r479163)
@@ -3,11 +3,11 @@
 
 PORTNAME=	libcss
 PORTVERSION=	0.8.0
+DISTVERSIONSUFFIX=	-src
 CATEGORIES=	textproc
 MASTER_SITES=	http://download.netsurf-browser.org/libs/releases/
-DISTNAME=	${PORTNAME}-${PORTVERSION}-src
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	neel at neelc.org
 COMMENT=	Cascading Style Sheets library
 
 LICENSE=	MIT
@@ -19,12 +19,12 @@ LIB_DEPENDS=	libwapcaplet.so:textproc/libwapcaplet \
 
 USES=		gmake iconv:wchar_t localbase pkgconfig
 USE_LDCONFIG=	yes
-WRKSRC=		${WRKDIR}/${DISTNAME:S/-src//}
-MAKE_ENV+=	COMPONENT_TYPE="lib-shared"
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+MAKE_ENV=	COMPONENT_TYPE="lib-shared"
 LDFLAGS+=	${ICONV_LIB}
-PLIST_SUB+=	VERSION=${PORTVERSION}
+PLIST_SUB=	VERSION=${PORTVERSION}
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcss.so*
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcss.so
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list