freebsd-ports/sysutils/pkgfe/Makefile
Martin Wilke 91480543db - Update to 20061204
PR:		ports/106288
Submitted by:   Sulev-Madis Silber <madis555@hot.ee> (maintainer)
2006-12-04 22:29:43 +00:00

44 lines
1.2 KiB
Makefile

# New ports collection makefile for: pkgfe
# Date created: 2006-01-14
# Whom: Sulev-Madis Silber <madis555@hot.ee>
#
# $FreeBSD$
#
PORTNAME= pkgfe
PORTVERSION= 20061204
CATEGORIES= sysutils
MASTER_SITES= http://helpfreebsd.net/pkgfe/releases/ \
http://kodu.neti.ee/~madis555/pkgfe/releases/ \
http://ketas.life.ee/pkgfe/releases/ \
http://ketas.si.pri.ee/pkgfe/releases/ \
http://pkgfe2.si.pri.ee/pkgfe/releases/
MAINTAINER= madis555@hot.ee
COMMENT= Ncurses frontend for ports collection
RUN_DEPENDS= portupgrade:${PORTSDIR}/sysutils/portupgrade \
portaudit:${PORTSDIR}/security/portaudit
MAN8= pkgfe.8
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600033 && ( ${OSVERSION} < 504103 || ${OSVERSION} > 600000 )
RUN_DEPENDS+= portsnap:${PORTSDIR}/sysutils/portsnap
.endif
NO_BUILD= yes
do-install:
${REINPLACE_CMD} -e 's|%PREFIX%|${PREFIX}|g' ${WRKSRC}/pkgfe
${INSTALL_SCRIPT} ${WRKSRC}/pkgfe ${PREFIX}/sbin/pkgfe
${INSTALL_DATA} ${WRKSRC}/pkgfe.conf ${PREFIX}/etc/pkgfe.conf.sample
${INSTALL_MAN} ${WRKSRC}/pkgfe.8 ${PREFIX}/man/man8
post-install:
@if [ ! -f ${PREFIX}/etc/pkgfe.conf ]; then \
${CP} -p ${PREFIX}/etc/pkgfe.conf.sample ${PREFIX}/etc/pkgfe.conf ; \
fi
.include <bsd.port.post.mk>