diff options
Diffstat (limited to 'games/tux-aqfh/Makefile')
-rw-r--r-- | games/tux-aqfh/Makefile | 55 |
1 files changed, 40 insertions, 15 deletions
diff --git a/games/tux-aqfh/Makefile b/games/tux-aqfh/Makefile index 5bbb65261c05..e29cd38a2107 100644 --- a/games/tux-aqfh/Makefile +++ b/games/tux-aqfh/Makefile @@ -1,21 +1,20 @@ -# New ports collection makefile for: tux-aqfh -# Date created: 10 Jun 2001 -# Whom: Alexander Langer <alex@FreeBSD.org> -# +# Created by: Alexander Langer <alex@FreeBSD.org> # $FreeBSD$ -# PORTNAME= tux_aqfh PORTVERSION= 1.0.14 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= games -MASTER_SITES= SF/tuxaqfh/tuxaqfh/${PORTVERSION}-classic +MASTER_SITES= SF/tuxaqfh/tuxaqfh/${PORTVERSION}-classic \ + SF/nemysisfreebsdp/:icons +DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ + ${PORTNAME}.png:icons +EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} -MAINTAINER= ports@FreeBSD.org -COMMENT= An OpenGL adventure game +MAINTAINER= nemysis@gmx.ch +COMMENT= Tuxedo The Penguin: A Quest for Herring LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib @@ -28,16 +27,42 @@ MAKE_JOBS_SAFE= yes CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} LDFLAGS+= -L${LOCALBASE}/lib -lusbhid ${PTHREAD_LIBS} -.include <bsd.port.pre.mk> +PORTDOCS= * + +DOCSRCDIR1= ${WRKSRC} +DOC_FILES1= AUTHORS CHANGES README + +DOCSRCDIR2= ${WRKSRC}/doc +DOCSDIR2= ${DOCSDIR}/doc +DOC_FILES2= *.png *.html + +DESKTOP_ENTRIES="Tuxedo The Penguin: A Quest for Herring" "${COMMENT}" ${PORTNAME} \ + "${PORTNAME}" "Game;ArcadeGame;" false + +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> post-patch: @${REINPLACE_CMD} -e \ - 's|-lplibsl -lplibssg|-lplibsl -lplibjs -lplibssg|g ; \ + 's|-lplibul|-lplibul -lplibjs| ; \ s|-O6||g ; \ - s|-lpthread||g ; \ - s|datadir/games|datadir|g' ${WRKSRC}/configure + s|-lpthread|| ; \ + s|datadir/games|datadir|' ${WRKSRC}/configure @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|$$(prefix)/games|@bindir@|g ; \ s|$$(datadir)/games|$$(datadir)|g' + @${REINPLACE_CMD} -e 's|doc contrib| contrib|' \ + ${WRKSRC}/Makefile.in + +post-install: + ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps + +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR} + @${MKDIR} ${DOCSDIR2} + ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${DOCSDIR2} +.endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |