svn commit: r323885 - head/devel/cppi

Alexey Dokuchaev danfe at FreeBSD.org
Mon Jul 29 13:03:46 UTC 2013


Author: danfe
Date: Mon Jul 29 13:03:45 2013
New Revision: 323885
URL: http://svnweb.freebsd.org/changeset/ports/323885

Log:
  - Unbreak parallel (-jX) builds (have to use GNU make)
  - Generally cleanup and modernize the port while here
  
  Reported by:	pointyhat-west

Modified:
  head/devel/cppi/Makefile

Modified: head/devel/cppi/Makefile
==============================================================================
--- head/devel/cppi/Makefile	Mon Jul 29 12:40:06 2013	(r323884)
+++ head/devel/cppi/Makefile	Mon Jul 29 13:03:45 2013	(r323885)
@@ -3,28 +3,23 @@
 PORTNAME=	cppi
 PORTVERSION=	1.18
 CATEGORIES=	devel
-MASTER_SITES=	${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR=	${PORTNAME}
+MASTER_SITES=	GNU
 
 MAINTAINER=	johans at FreeBSD.org
-COMMENT=	A tool to indent the C preprocessor directives
+COMMENT=	Tool to indent the C preprocessor directives
 
 USE_XZ=		yes
-USES=		gettext charsetfix
+USES=		charsetfix gmake	# gmake is needed for -jX builds
 GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 
-MAN1=		cppi.1
+MAN1=		${PORTNAME}.1
 
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	NLS
+OPTIONS_SUB=	yes
 
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+=	NLS="@comment "
-.endif
+NLS_USES=	gettext
+NLS_CONFIGURE_OFF=	--disable-nls
 
 post-patch:
 	@${REINPLACE_CMD} -e 's:(libdir)/lib:(libdir):' ${WRKSRC}/Makefile.in


More information about the svn-ports-all mailing list