mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
579e5a9c21
Move manpages to ${PREFIX}/share/man Sponsored by: Rubicon Communications, LLC ("Netgate")
28 lines
756 B
Makefile
28 lines
756 B
Makefile
PORTNAME= ondir
|
|
PORTVERSION= 0.2.4
|
|
PORTREVISION= 2
|
|
CATEGORIES= misc
|
|
MASTER_SITES= http://swapoff.org/files/${PORTNAME}/
|
|
|
|
MAINTAINER= garga@FreeBSD.org
|
|
COMMENT= Automatically executes scripts as you traverse directories
|
|
WWW= https://swapoff.org/ondir.html
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
ALL_TARGET= ${PORTNAME}
|
|
MAKE_ARGS= PREFIX="${PREFIX}" \
|
|
CC="${CC}" LD="${CC}" \
|
|
CFLAGS="${CFLAGS} -DVERSION=\\\"${PORTVERSION}\\\" -DGLOBAL_CONF=\\\"${PREFIX}/etc/ondirrc\\\"" \
|
|
LDFLAGS="${LDFLAGS}"
|
|
|
|
PLIST_FILES= bin/${PORTNAME} share/man/man1/${PORTNAME}.1.gz
|
|
|
|
do-install:
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \
|
|
${STAGEDIR}${PREFIX}/share/man/man1
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|