freebsd-ports/games/qnetwalk/Makefile
Dmitry Marakasov 405ecb8a8a - Cleanup plist
2014-09-22 12:11:58 +00:00

40 lines
860 B
Makefile

# Created by: arved
# $FreeBSD$
PORTNAME= qnetwalk
PORTVERSION= 1.4
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://qt.osdn.org.ua/ \
http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Qt-version of the NetWalk game
LICENSE= GPLv2
USES= qmake
USE_QT4= corelib gui moc_build rcc_build
USE_SDL= mixer
PLIST_FILES= bin/qnetwalk \
man/man6/qnetwalk.6.gz \
share/applications/qnetwalk.desktop \
share/pixmaps/qnetwalk.xpm
PORTDOCS= ChangeLog README
PORTDATA= *
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|/usr/games|$$$${PREFIX}/bin|; \
s|/usr/share/man|$$$${PREFIX}/man|; \
s|/usr/share|$$$${PREFIX}/share|; \
/INSTALLS.*menu/ d' ${WRKSRC}/${PORTNAME}.pro
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>