2001-08-08 08:52:42 +02:00
|
|
|
# New ports collection makefile for: reed
|
|
|
|
# Date created: 7 August 2001
|
|
|
|
# Whom: Pete Fritchman <petef@databits.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= reed
|
2001-12-24 21:16:08 +01:00
|
|
|
PORTVERSION= 4.7
|
2001-08-08 08:52:42 +02:00
|
|
|
CATEGORIES= misc
|
|
|
|
MASTER_SITES= http://www.sacredchao.net/software/reed/
|
|
|
|
|
2001-08-23 01:07:23 +02:00
|
|
|
MAINTAINER= petef@FreeBSD.org
|
2001-08-08 08:52:42 +02:00
|
|
|
|
|
|
|
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
|
|
|
|
|
2001-12-24 21:16:08 +01:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_SCRIPT= configures
|
|
|
|
CONFIGURE_ENV= INCDIR="${LOCALBASE}/include"
|
2001-08-08 08:52:42 +02:00
|
|
|
|
2001-12-24 21:16:08 +01:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
2001-08-08 08:52:42 +02:00
|
|
|
|
|
|
|
MAN1= breed.1 reed.1 wrap.1
|
|
|
|
|
2001-12-24 21:16:08 +01:00
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi -e 's!/usr/local/!${PREFIX}!g' ${WRKSRC}/configures
|
|
|
|
@${PERL} -pi -e 's!sys/dir.h!dirent.h!g' ${WRKSRC}/src/reed.h
|
|
|
|
@${PERL} -pi -e 's!-O2!${CFLAGS}!' ${WRKSRC}/Makefile.in
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/reed ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/scripts/breed ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/scripts/wrap ${PREFIX}/bin
|
|
|
|
.for file in ${MAN1}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/man/${file} ${PREFIX}/man/man1
|
|
|
|
.endfor
|
|
|
|
|
2001-08-08 08:52:42 +02:00
|
|
|
.include <bsd.port.mk>
|