freebsd-ports/textproc/scdoc/Makefile
2021-11-13 23:25:58 +00:00

27 lines
646 B
Makefile

PORTNAME= scdoc
DISTVERSION= 1.11.2
CATEGORIES= textproc
MASTER_SITES= https://git.sr.ht/~sircmpwn/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Small man page generator
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake
MAKE_ENV= PCDIR='$$(PREFIX)/libdata/pkgconfig'
TEST_TARGET= check
PLIST_FILES= bin/${PORTNAME} \
libdata/pkgconfig/${PORTNAME}.pc \
share/man/man1/${PORTNAME}.1.gz \
share/man/man5/${PORTNAME}.5.gz
post-patch:
@${REINPLACE_CMD} '/-static/d' ${WRKSRC}/Makefile
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>