1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

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)
This commit is contained in:
Jan Beich 2015-12-07 05:02:58 +00:00
parent 34bda9a5d8
commit b89220825b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403183

View File

@ -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>