diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/virt/Makefile | 21 | ||||
-rw-r--r-- | games/virt/files/patch-Makefile | 35 |
2 files changed, 10 insertions, 46 deletions
diff --git a/games/virt/Makefile b/games/virt/Makefile index 9fea8f78497a..4a9016fa1929 100644 --- a/games/virt/Makefile +++ b/games/virt/Makefile @@ -8,25 +8,24 @@ PORTNAME= virt PORTVERSION= 1.0 PORTREVISION= 1 CATEGORIES= games -MASTER_SITES= ftp://vampiro.rshb.com.ru/pub/warez/virt/ \ - ftp://ftp.treasury.ru/pub/unix/virt/ +MASTER_SITES= # MAINTAINER= ports@FreeBSD.org COMMENT= Game and keyboard teacher in one. Enjoy it! +DEPRECATED= mastersite disappeared, no longer maintained by author +EXPIRATION_DATE=2006-02-15 + USE_GNOME= gtk12 -USE_PERL5_BUILD=yes +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} `gtk12-config --cflags`" MAN6= virt.6 MANCOMPRESSED= no -post-patch: - @${PERL} -pi -e "s,gtk-config,${GTK_CONFIG},g ; \ - s,%%INSTALL_PROGRAM%%,${INSTALL_PROGRAM},g ; \ - s,%%INSTALL_DATA%%,${INSTALL_DATA},g ; \ - s,%%INSTALL_MAN%%,${INSTALL_MAN},g" ${WRKSRC}/Makefile - -pre-install: - @${MKDIR} ${PREFIX}/share/${PORTNAME} +do-install: @${MKDIR} ${PREFIX}/share/${PORTNAME}/keytop + ${INSTALL_PROGRAM} ${WRKSRC}/virt ${PREFIX}/bin + (cd ${WRKSRC} && ${INSTALL_DATA} virtrc virt.eng virt.rus COPYRIGHT ${DATADIR}) + ${INSTALL_DATA} ${WRKSRC}/keytop/*.xpm ${DATADIR}/keytop + ${INSTALL_MAN} ${WRKSRC}/virt.6 ${PREFIX}/man/man6 .include <bsd.port.mk> diff --git a/games/virt/files/patch-Makefile b/games/virt/files/patch-Makefile deleted file mode 100644 index 89f06b950a2c..000000000000 --- a/games/virt/files/patch-Makefile +++ /dev/null @@ -1,35 +0,0 @@ ---- Makefile.orig Sun May 27 20:28:36 2001 -+++ Makefile Sun May 27 20:30:18 2001 -@@ -1,7 +1,4 @@ --PREFIX=/usr/local - --CC=gcc --CFLAGS=-Wall -ansi -g -ggdb - CFLAGS+= `gtk-config --cflags` - MCFLAGS=-DPREFIX=\"$(PREFIX)\" - -@@ -21,17 +18,13 @@ - $(CC) $(CFLAGS) $(MCFLAGS) -c iface.c - - install: -- install -d $(PREFIX)/bin -- install -cs virt $(PREFIX)/bin -- install -d -m 777 $(PREFIX)/share/virt -- install -d -m 777 $(PREFIX)/share/virt/keytop -- install -cm 666 virtrc $(PREFIX)/share/virt -- install -cm 666 virt.eng $(PREFIX)/share/virt -- install -cm 666 virt.rus $(PREFIX)/share/virt -- install -cm 444 COPYRIGHT $(PREFIX)/share/virt -- install -cm 444 keytop/*.xpm $(PREFIX)/share/virt/keytop -- install -d $(PREFIX)/man/man6 -- install -cm 444 virt.6 $(PREFIX)/man/man6 -+ %%INSTALL_PROGRAM%% virt $(PREFIX)/bin -+ %%INSTALL_DATA%% virtrc $(PREFIX)/share/virt -+ %%INSTALL_DATA%% virt.eng $(PREFIX)/share/virt -+ %%INSTALL_DATA%% virt.rus $(PREFIX)/share/virt -+ %%INSTALL_DATA%% COPYRIGHT $(PREFIX)/share/virt -+ %%INSTALL_DATA%% keytop/*.xpm $(PREFIX)/share/virt/keytop -+ %%INSTALL_MAN%% virt.6 $(PREFIX)/man/man6 - - .PHONY: clean - clean: |