mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
bbc8c4d740
Approved by: portmgr (not really, but touches unstaged ports)
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# Created by: refugee
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dungeoncrawl
|
|
PORTVERSION= 4.0.0.b26
|
|
CATEGORIES= games
|
|
MASTER_SITES= ftp://ftp.dungeoncrawl.org/dev/4.0.x/src/ \
|
|
http://www.sourcefiles.org/Games/Role_Play/
|
|
DISTNAME= dc${PORTVERSION:S/.//g}-src
|
|
EXTRACT_SUFX= .tbz2
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Old school roguelike game
|
|
|
|
WRKSRC_SUBDIR= source
|
|
|
|
USES= ncurses tar:bzip2
|
|
MAKEFILE= makefile.bsd
|
|
|
|
PORTDOCS= buglist.txt crawl.txt
|
|
PLIST_FILES= bin/dungeoncrawl man/man6/dungeoncrawl.6.gz
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|^CXX =|CXX ?=| ; \
|
|
s|^CFLAGS =|CXXFLAGS +=| ; \
|
|
s|^LDFLAGS =|# &| ; \
|
|
s|^INSTALLDIR =|# &| ; \
|
|
s|^INCLUDES =|# &| ; \
|
|
s|$$(CFLAGS)|$$(CXXFLAGS)| ; \
|
|
s|$${CFLAGS}|$${CXXFLAGS}|' ${WRKSRC}/${MAKEFILE}
|
|
|
|
do-install:
|
|
(cd ${WRKSRC} && ${INSTALL_PROGRAM} crawl \
|
|
${STAGEDIR}${PREFIX}/bin/dungeoncrawl)
|
|
(cd ${WRKSRC}/../docs && ${INSTALL_MAN} crawl.6 \
|
|
${STAGEDIR}${MANPREFIX}/man/man6/dungeoncrawl.6)
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for doc in ${PORTDOCS}
|
|
(cd ${WRKSRC}/../docs && ${INSTALL_DATA} ${doc} \
|
|
${STAGEDIR}${DOCSDIR})
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|