2001-05-19 20:34:37 +02:00
|
|
|
# New ports collection makefile for: Slash'Em (tty interface)
|
|
|
|
# Date created: 15th April 2001
|
|
|
|
# Whom: Adam Kranzel (adam@alameda.edu)
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= slashem
|
2002-04-11 07:25:19 +02:00
|
|
|
PORTVERSION= 0.0.6E.4F.8
|
2001-05-19 20:34:37 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
PKGNAMESUFFIX= -tty
|
2001-10-02 14:03:05 +02:00
|
|
|
DISTNAME= se${PORTVERSION:S/.//g:L}
|
2001-05-19 20:34:37 +02:00
|
|
|
|
2002-03-12 00:50:29 +01:00
|
|
|
MAINTAINER= adam-ports@blacktabby.org
|
2003-02-21 13:06:51 +01:00
|
|
|
COMMENT= A dungeon explorin', slashin', hackin' game
|
2001-05-19 20:34:37 +02:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2002-11-04 23:57:37 +01:00
|
|
|
USE_REINPLACE= yes
|
2001-05-19 20:34:37 +02:00
|
|
|
MAN6= dgn_comp.6 dlb.6 lev_comp.6 slashem-tty.6 recover.6
|
|
|
|
|
2001-10-02 14:03:05 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/([A-Z])./\1/g}
|
2001-05-19 20:34:37 +02:00
|
|
|
|
|
|
|
post-patch:
|
2002-11-04 23:57:37 +01:00
|
|
|
${REINPLACE_CMD} -e \
|
|
|
|
"s@/usr/local@${PREFIX}@g" ${WRKSRC}/include/config.h
|
2001-05-19 20:34:37 +02:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@cd ${WRKSRC}/sys/unix; ${SH} setup.sh
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@cd ${WRKSRC}/doc; ${CHMOD} 644 *.6
|
|
|
|
@cp ${WRKSRC}/doc/slashem.6 ${WRKSRC}/doc/slashem${PKGNAMESUFFIX}.6
|
|
|
|
@cd ${WRKSRC}/doc; PREFIX=${PREFIX} ${MAKE} manpages
|
|
|
|
.if !defined(NOPORTDOCS)
|
2001-10-02 14:03:05 +02:00
|
|
|
${MKDIR} ${DOCSDIR}${PKGNAMESUFFIX}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/Guidebook.txt ${DOCSDIR}${PKGNAMESUFFIX}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/slamfaq.txt ${DOCSDIR}${PKGNAMESUFFIX}
|
|
|
|
${INSTALL_MAN} ${FILESDIR}/sample.slashemrc ${DOCSDIR}${PKGNAMESUFFIX}
|
2001-05-19 20:34:37 +02:00
|
|
|
.endif
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|