1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/games/ifm/Makefile
Vasil Dimov 0b2dd6e8f3 This port needs perl in order to build and install
bin/ifm2dev
bin/ifm2tex
bin/scr2ifm
so hook a perl dependency and remove the plist hack introduced
with my previous commit.
2006-11-08 06:33:32 +00:00

39 lines
1000 B
Makefile

# New ports collection makefile for: ifm
# Date created: Mon Oct 12 12:32:07 EDT 1998
# Whom: Dave Chapeskie <dchapes@ddm.on.ca>
#
# $FreeBSD$
#
PORTNAME= ifm
PORTVERSION= 5.1
PORTREVISION= 3
CATEGORIES= games tk84
MASTER_SITES= http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/ \
http://www.ifarchive.org/%SUBDIR%/
MASTER_SITE_SUBDIR= if-archive/mapping-tools
MAINTAINER= spear@protect-ya-neck.com
COMMENT= Interactive Fiction mapper and walkthrough generator
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
USE_PERL5= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= WISH=${LOCALBASE}/bin/wish8.4
post-patch:
@${REINPLACE_CMD} -e 's|lib doc progs|lib progs|g' ${WRKSRC}/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/ifm.pdf ${DOCSDIR}
@${MKDIR} ${DOCSDIR}/html
${INSTALL_DATA} ${WRKSRC}/doc/ifm/* ${DOCSDIR}/html
.endif
.include <bsd.port.mk>