1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/shells/shell-include/Makefile
Dmitry Marakasov 48fc0d7bc6 - Fix stagedir referenced from installed files:
Error: 'bin/bash-include' is referring to /wrkdirs/usr/ports/shells/shell-include/work/stage
Error: 'bin/sh-include' is referring to /wrkdirs/usr/ports/shells/shell-include/work/stage

- Don't use random and don't use /tmp for temporary files. It's unsafe, and netstat spews warnings from the jail:

netstat: kvm not available: /dev/mem: No such file or directory

- Depend on perl as pod2man is used during build
- Fix path to pod2man

PR:		199645
Submitted by:	amdmi3
Approved by:	maintainer timeout
2015-05-09 02:10:09 +00:00

28 lines
549 B
Makefile

# Created by: Zane C. Bowers
# $FreeBSD$
PORTNAME= shell-include
PORTVERSION= 0.1.2
PORTREVISION= 1
CATEGORIES= shells devel
MASTER_SITES= http://vvelox.net/src/shell-include/
MAINTAINER= vvelox@vvelox.net
COMMENT= Include system for shell scripts
USES= perl5
USES= perl5 tar:tgz
USE_PERL5= build
NO_BUILD= yes
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local/bin/pod2man|${LOCALBASE}/bin/pod2man|' \
${WRKSRC}/install
do-install:
cd ${WRKSRC}/ ; ${SETENV} DESTDIR=${STAGEDIR} \
${SH} ${WRKSRC}/install ${PREFIX}
.include <bsd.port.mk>