- DEPRECATE: mastersite disappeared, no longer maintained by author

- Cleanup (me)

PR:		ports/90453
Submitted by:	Jean Milanez Melo
This commit is contained in:
Volker Stolz 2005-12-16 09:48:33 +00:00
parent 7c348b23cc
commit bf5966b2a6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=151302
2 changed files with 10 additions and 46 deletions

View file

@ -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>

View file

@ -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: