svn commit: r479164 - head/www/libdom
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Sep 6 21:58:08 UTC 2018
Author: sunpoet
Date: Thu Sep 6 21:58:05 2018
New Revision: 479164
URL: https://svnweb.freebsd.org/changeset/ports/479164
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: 231200
Submitted by: Neel Chauhan <neel at neelc.org>
Modified:
head/www/libdom/Makefile
Modified: head/www/libdom/Makefile
==============================================================================
--- head/www/libdom/Makefile Thu Sep 6 21:58:00 2018 (r479163)
+++ head/www/libdom/Makefile Thu Sep 6 21:58:05 2018 (r479164)
@@ -3,11 +3,11 @@
PORTNAME= libdom
PORTVERSION= 0.3.3
+DISTVERSIONSUFFIX= -src
CATEGORIES= www
MASTER_SITES= http://download.netsurf-browser.org/libs/releases/
-DISTNAME= ${PORTNAME}-${PORTVERSION}-src
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= neel at neelc.org
COMMENT= Document Object Model library
LICENSE= MIT
@@ -22,13 +22,13 @@ LIB_DEPENDS= libwapcaplet.so:textproc/libwapcaplet \
USES= gmake iconv localbase pkgconfig
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/libdom.so*
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libdom.so
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list