opnsense-ports/sysutils/procenv/Makefile
Franco Fichtner 3a524f599b */*: sync with upstream
Taken from: HardenedBSD
2021-01-16 20:47:26 +01:00

41 lines
803 B
Makefile

# Created by: James Hunt <james.hunt@ubuntu.com>
# $FreeBSD$
PORTNAME= procenv
PORTVERSION= 0.51
CATEGORIES= sysutils
MAINTAINER= ports@FreeBSD.org
COMMENT= Utility to show process environment
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= xmlwf:textproc/expat2
USE_HARDENING= stackautoinit:off
#USES= autoreconf gmake perl5
USES= autoreconf perl5
USE_PERL5= build
USE_GITHUB= yes
GH_ACCOUNT= jamesodhunt
GNU_CONFIGURE= yes
TEST_TARGET= check
PLIST_FILES= bin/procenv \
man/man1/procenv.1.gz
PORTDOCS= AUTHORS ChangeLog NEWS README TODO
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/^PKG_/d' ${WRKSRC}/configure.ac
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>