freebsd-ports/ports-mgmt/portshaker-config/Makefile

28 lines
688 B
Makefile
Raw Normal View History

# Created by: Romain Tartiere <romain@FreeBSD.org>
# $FreeBSD$
PORTNAME= portshaker-config
PORTREVISION= 1
CATEGORIES= ports-mgmt
MAINTAINER= romain@FreeBSD.org
COMMENT= Simple configuration manager for portshaker
BUILD_DEPENDS= portshaker:${PORTSDIR}/ports-mgmt/portshaker
RUN_DEPENDS:= ${BUILD_DEPENDS}
MASTERDIR= ${.CURDIR}/../portshaker
BUILD_WRKSRC= ${WRKSRC}/examples
INSTALL_WRKSRC= ${BUILD_WRKSRC}
DESCR= ${.CURDIR}/pkg-descr
PLIST= ${.CURDIR}/pkg-plist
pre-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/portshaker.d
post-install:
@${MV} ${STAGEDIR}${PREFIX}/etc/portshaker.conf \
${STAGEDIR}${PREFIX}/etc/portshaker.conf.sample-config
.include "${MASTERDIR}/Makefile"