Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Dec 2015 05:02:58 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403183 - head/textproc/smu
Message-ID:  <201512070502.tB752w27000193@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Dec  7 05:02:58 2015
New Revision: 403183
URL: https://svnweb.freebsd.org/changeset/ports/403183

Log:
  textproc/smi: respect *FLAGS (similar to r397201)
  
  - Replace vendor Makefile with a virtual one based on bsd.prog.mk to
    avoid too much patching despite simplicity
  
  PR:		203137
  Approved by:	maintainer timeout (83 days)

Modified:
  head/textproc/smu/Makefile   (contents, props changed)

Modified: head/textproc/smu/Makefile
==============================================================================
--- head/textproc/smu/Makefile	Mon Dec  7 05:02:12 2015	(r403182)
+++ head/textproc/smu/Makefile	Mon Dec  7 05:02:58 2015	(r403183)
@@ -4,6 +4,7 @@
 PORTNAME=	smu
 PORTVERSION=	1.4
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	textproc
 
 MAINTAINER=	rodrigo@FreeBSD.org
@@ -18,11 +19,11 @@ GH_PROJECT=	smu
 
 PLIST_FILES=	bin/smu man/man1/smu.1.gz
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|cc|${CC}|g' ${WRKSRC}/config.mk
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/smu ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/smu.1 ${STAGEDIR}${MANPREFIX}/man/man1
+USES=		uidfix
+MAKEFILE=	/usr/share/mk/bsd.prog.mk
+MAKE_ENV=	PROG="${PORTNAME}" \
+		BINDIR="${PREFIX}/bin" \
+		MANDIR="${MANPREFIX}/man/man"
+CFLAGS+=	-DVERSION=${PORTVERSION}
 
 .include <bsd.port.mk>



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