From 5c4b042e7cd9d56f48e512b05af8d1fc71c089cf Mon Sep 17 00:00:00 2001 From: jbeich Date: Mon, 7 Dec 2015 05:02:58 +0000 Subject: 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) --- textproc/smu/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'textproc') diff --git a/textproc/smu/Makefile b/textproc/smu/Makefile index 78c1d966f51a..e95682ff54bd 100644 --- a/textproc/smu/Makefile +++ b/textproc/smu/Makefile @@ -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 -- cgit