mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
2c672a4de9
While here, make sure gtk-update-icon-cache is only on run dependency where added as a dependency Enforce gtk3 to depend on gtk-update-icon-cache (previously it was inheriting the dependency)
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# Created by: markand
|
|
|
|
PORTNAME= viruskiller
|
|
PORTVERSION= 1.03
|
|
DISTVERSIONSUFFIX= -1
|
|
PORTREVISION= 7
|
|
CATEGORIES= games
|
|
MASTER_SITES= FRUGALWARE/games-extra/${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Arcade game that relies on quick reflexes
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/doc/LICENSE
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
USES= gmake gnome sdl
|
|
USE_SDL= mixer image ttf net
|
|
MAKEFILE= makefile
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
'/^DOCS/s|=.*|= doc/README doc/*.*| ; \
|
|
/^PREFIX/s|=.*|= ${PREFIX}| ; \
|
|
/^BINDIR/s|=.*|= $$(DESTDIR)$$(PREFIX)/bin/| ; \
|
|
/^DATADIR/s|=.*|= $$(DESTDIR)$$(PREFIX)/${DATADIR_REL}/| ; \
|
|
/^DOCDIR/s|=.*|= $$(DESTDIR)$$(PREFIX)/${DOCSDIR_REL}/| ; \
|
|
/^ICONDIR/s|=.*|= $$(DESTDIR)$$(PREFIX)/share/icons/hicolor/| ; \
|
|
/^DESKTOPDIR/s|=.*|= $$(DESTDIR)$$(PREFIX)/share/applications/| ; \
|
|
/^LIBS =/s|$$| -lz| ; \
|
|
s|install .* 755|$${BSD_INSTALL_PROGRAM}| ; \
|
|
s|install .* 644|$${BSD_INSTALL_DATA}| ; \
|
|
/ICONS/s|cp|$${BSD_INSTALL_DATA}|' ${WRKSRC}/makefile
|
|
@${REINPLACE_CMD} -e \
|
|
's|.png|| ; \
|
|
s|/usr/games/||' ${WRKSRC}/icons/viruskiller.desktop
|
|
|
|
.include <bsd.port.mk>
|