Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2018 21:58:35 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r479170 - head/devel/libparserutils
Message-ID:  <201809062158.w86LwZB0052336@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Sep  6 21:58:35 2018
New Revision: 479170
URL: https://svnweb.freebsd.org/changeset/ports/479170

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

Modified:
  head/devel/libparserutils/Makefile

Modified: head/devel/libparserutils/Makefile
==============================================================================
--- head/devel/libparserutils/Makefile	Thu Sep  6 21:58:30 2018	(r479169)
+++ head/devel/libparserutils/Makefile	Thu Sep  6 21:58:35 2018	(r479170)
@@ -3,11 +3,11 @@
 
 PORTNAME=	libparserutils
 PORTVERSION=	0.2.4
+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=	Lexer/parser utility functions for NetSurf
 
 LICENSE=	MIT
@@ -18,14 +18,14 @@ BUILD_DEPENDS=	netsurf-buildsystem>=1.5:devel/netsurf-
 USES=		gmake iconv localbase pkgconfig
 USE_LDCONFIG=	yes
 
-MAKE_ENV+=	COMPONENT_TYPE="lib-shared"
+MAKE_ENV=	COMPONENT_TYPE="lib-shared"
 LDFLAGS+=	${ICONV_LIB}
 
-WRKSRC=	${WRKDIR}/${DISTNAME:S/-src//}
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
-PLIST_SUB+=	VERSION=${PORTVERSION}
+PLIST_SUB=	VERSION=${PORTVERSION}
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libparserutils.so*
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libparserutils.so
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809062158.w86LwZB0052336>