freebsd-ports/devel/pmk/Makefile
Sean Chittenden e4d5c46ee8 Fix plist droppings when a pmk.conf file wasn't already in existence. After
this commit, it is now possible to depend on pmk as a build dependency and
have it work 100% correctly as a package or port.  Previously, one would
have to call pmksetup(1), now this is no longer required.  Port version
bump.

Pointed out by:	kris
2004-12-07 21:44:15 +00:00

36 lines
801 B
Makefile

# New ports collection makefile for: pmk
# Date created: October 13, 2003
# Whom: Sean Chittenden <seanc@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= pmk
PORTVERSION= 0.8.1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pmk
MAINTAINER= seanc@FreeBSD.org
COMMENT= Pre Make Kit, a sane replacement for autoconf
PKGINSTALL= ${WRKDIR}/pkg-install
MAN1= pmk.1 pmkscan.1 pmkinstall.1
MAN5= pmk.conf.5 pmkfile.5
MAN8= pmksetup.8
do-configure:
cd ${WRKSRC}; SYSCONFDIR=${PREFIX}/etc ./pmkcfg.sh
post-build:
@${CAT} ${PKGDIR}/pkg-install | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' > ${PKGINSTALL}
post-install:
@${TRUE}
.if !defined(PACKAGE_BUILDING)
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif
.include <bsd.port.mk>