mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
50125fe3ca
- add LICENSE - convert to STAGEDIR PR: ports/182798 Submitted by: KATO Tsuguru
27 lines
725 B
Makefile
27 lines
725 B
Makefile
# Created by: ports@c0decafe.net <ports@c0decafe.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ondir
|
|
PORTVERSION= 0.2.4
|
|
CATEGORIES= misc
|
|
MASTER_SITES= http://swapoff.org/files/${PORTNAME}/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Automatically executes scripts as you traverse directories
|
|
|
|
LICENSE= GPLv2
|
|
|
|
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>
|