Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= viruskiller |
4 |
PORTNAME= viruskiller |
5 |
PORTVERSION= 1.03 |
5 |
PORTVERSION= 1.03 |
6 |
PORTREVISION= 3 |
6 |
PORTREVISION= 4 |
7 |
CATEGORIES= games |
7 |
CATEGORIES= games |
8 |
MASTER_SITES= FRUGALWARE/games-extra/${PORTNAME} |
8 |
MASTER_SITES= FRUGALWARE/games-extra/${PORTNAME} |
9 |
DISTNAME= ${PORTNAME}-${PORTVERSION}-1 |
9 |
DISTNAME= ${PORTNAME}-${PORTVERSION}-1 |
Lines 13-52
Link Here
|
13 |
|
13 |
|
14 |
LICENSE= GPLv2 |
14 |
LICENSE= GPLv2 |
15 |
|
15 |
|
16 |
OPTIONS_DEFINE= DOCS |
|
|
17 |
|
18 |
USE_SDL= mixer image ttf net |
19 |
USES= gmake |
20 |
|
21 |
BROKEN= Does not build |
22 |
DEPRECATED= Broken for more then 6 month |
23 |
EXPIRATION_DATE= 2014-02-27 |
24 |
|
25 |
INSTALLS_ICONS= yes |
26 |
|
27 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
16 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
28 |
|
17 |
|
|
|
18 |
USES= gmake |
19 |
USE_SDL= mixer image ttf net |
29 |
MAKEFILE= makefile |
20 |
MAKEFILE= makefile |
|
|
21 |
INSTALLS_ICONS= yes |
30 |
|
22 |
|
31 |
NO_STAGE= yes |
23 |
OPTIONS_DEFINE= DOCS |
32 |
.include <bsd.port.options.mk> |
|
|
33 |
|
34 |
.if ${ARCH} == "amd64" |
35 |
BROKEN= Does not build with new libz |
36 |
.endif |
37 |
|
24 |
|
38 |
post-patch: |
25 |
post-patch: |
39 |
# Remove non-free restricted files: |
26 |
@${REINPLACE_CMD} -e \ |
40 |
${RM} -f ${WRKSRC}/music/* ${WRKSRC}/sound/* |
27 |
'/^DOCS/s|=.*|= doc/README doc/*.*| ; \ |
41 |
|
28 |
/^PREFIX/s|=.*|= ${PREFIX}| ; \ |
42 |
.if ${PORT_OPTIONS:MDOCS} |
29 |
/^BINDIR/s|=.*|= $$(DESTDIR)$$(PREFIX)/bin/| ; \ |
43 |
@${REINPLACE_CMD} -e "s|^.*install.*DOCS.*||g" \ |
30 |
/^DATADIR/s|=.*|= $$(DESTDIR)$$(PREFIX)/${DATADIR_REL}/| ; \ |
44 |
-e "s|^.*mkdir.*DOCDIR.*||g" \ |
31 |
/^DOCDIR/s|=.*|= $$(DESTDIR)$$(PREFIX)/${DOCSDIR_REL}/| ; \ |
45 |
${WRKSRC}/makefile |
32 |
/^ICONDIR/s|=.*|= $$(DESTDIR)$$(PREFIX)/share/icons/hicolor/| ; \ |
46 |
.endif |
33 |
/^DESKTOPDIR/s|=.*|= $$(DESTDIR)$$(PREFIX)/share/applications/| ; \ |
47 |
@${REINPLACE_CMD} -e "s|^PREFIX.*|PREFIX=${PREFIX}|g" \ |
34 |
s|install .* 755|$${BSD_INSTALL_PROGRAM}| ; \ |
48 |
-e "s|^BINDIR.*|BINDIR=${PREFIX}/bin/|g" \ |
35 |
s|install .* 644|$${BSD_INSTALL_DATA}| ; \ |
49 |
-e "s|^DATADIR.*|DATADIR=${DATADIR}/|g" \ |
36 |
/ICONS/s|cp|$${BSD_INSTALL_DATA}|' ${WRKSRC}/makefile |
50 |
-e "s|^DOCDIR.*|DOCDIR=${DOCSDIR}|g" ${WRKSRC}/makefile |
37 |
@${REINPLACE_CMD} -e \ |
|
|
38 |
's|.png|| ; \ |
39 |
s|/usr/games/||' ${WRKSRC}/icons/viruskiller.desktop |
51 |
|
40 |
|
52 |
.include <bsd.port.mk> |
41 |
.include <bsd.port.mk> |