freebsd-ports/sysutils/prips/Makefile
2003-02-21 13:28:59 +00:00

32 lines
773 B
Makefile

# New ports collection makefile for: prips
# Date created: 29 October 1999
# Whom: Jeremy Shaffner <jeremy@external.org>
#
# $FreeBSD$
#
PORTNAME= prips
PORTVERSION= 0.9.4
CATEGORIES= sysutils
MASTER_SITES= http://ipsc.sourceforge.net/dist/prips/
DISTNAME= ${PKGNAME}-src
MAINTAINER= jeremy@external.org
COMMENT= Prints IP subnet ranges by list or CIDR
WRKSRC= ${WRKDIR}/prips
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/prips ${PREFIX}/bin
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/prips
@${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/prips/README
.else
@${SED} 's#share/doc/prips/README##' ${TMPPLIST} > ${WRKDIR}/PLIST.tmp
@${SED} 's#@dirrm share/doc/prips##' ${WRKDIR}/PLIST.tmp > ${TMPPLIST}
.endif
.include <bsd.port.mk>