diff options
author | jbeich <jbeich@FreeBSD.org> | 2015-12-07 13:02:58 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2015-12-07 13:02:58 +0800 |
commit | 5c4b042e7cd9d56f48e512b05af8d1fc71c089cf (patch) | |
tree | 9178500cc7bfda64f08eeaa5979bb839c547f643 /textproc | |
parent | f3fa8dfe7b9e41f0b91380126a644b7fa491c7f1 (diff) | |
download | freebsd-ports-gnome-5c4b042e7cd9d56f48e512b05af8d1fc71c089cf.tar.gz freebsd-ports-gnome-5c4b042e7cd9d56f48e512b05af8d1fc71c089cf.tar.zst freebsd-ports-gnome-5c4b042e7cd9d56f48e512b05af8d1fc71c089cf.zip |
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)
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/smu/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
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 <bsd.port.mk> |