freebsd-ports/misc/dphys-config/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

45 lines
1.3 KiB
Makefile

# New ports collection makefile for: dphys-config
# Date created: 12 Oct 2006
# Whom: <gurkan@phys.ethz.ch>
#
# $FreeBSD$
#
PORTNAME= dphys-config
PORTVERSION= 20061020
PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= gurkan@phys.ethz.ch
COMMENT= Tool to distribute config files
RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
NO_BUILD= yes
MAN1= dphys-config.1
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
post-patch:
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
${MKDIR} ${EXAMPLESDIR}/site.example/local/sbin
.for f in dphys-config.example cron.d.example init.d.example
${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLESDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/site.example/${PORTNAME}* \
${EXAMPLESDIR}/site.example/
${INSTALL_DATA} ${WRKSRC}/site.example/local/sbin/${PORTNAME}-* \
${EXAMPLESDIR}/site.example/local/sbin/
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.example ${PREFIX}/etc/${PORTNAME}.sample
.if !exists(${PREFIX}/etc/${PORTNAME})
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.example ${PREFIX}/etc/${PORTNAME}
.endif
.include <bsd.port.mk>