freebsd-ports/misc/ondir/Makefile
Renato Botelho 17d58be676 - Regenerate patches with make makepatch
- Added LICENSE_FILE
- Take maintainership
2019-08-26 17:19:57 +00:00

28 lines
773 B
Makefile

# Created by: ports@c0decafe.net <ports@c0decafe.net>
# $FreeBSD$
PORTNAME= ondir
PORTVERSION= 0.2.4
PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://swapoff.org/files/${PORTNAME}/
MAINTAINER= garga@FreeBSD.org
COMMENT= Automatically executes scripts as you traverse directories
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} man/man1/${PORTNAME}.1.gz
do-install:
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>