diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-06-22 18:11:27 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-06-22 18:11:27 +0800 |
commit | 0ce4ed4e36f0d81c98684099d69b7ca4007aabac (patch) | |
tree | e784c66957b62f15be070aed454ca09958090d6b /games | |
parent | 684f4b9e9305fbea5ab2788f78aa71c3dc26d910 (diff) | |
download | freebsd-ports-gnome-0ce4ed4e36f0d81c98684099d69b7ca4007aabac.tar.gz freebsd-ports-gnome-0ce4ed4e36f0d81c98684099d69b7ca4007aabac.tar.zst freebsd-ports-gnome-0ce4ed4e36f0d81c98684099d69b7ca4007aabac.zip |
- Fix MASTER_SITES
- Support LOCALBASE properly
PR: 19221
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'games')
-rw-r--r-- | games/xchain/Makefile | 18 | ||||
-rw-r--r-- | games/xchain/files/patch-aa | 11 | ||||
-rw-r--r-- | games/xchain/files/patch-ab | 6 |
3 files changed, 18 insertions, 17 deletions
diff --git a/games/xchain/Makefile b/games/xchain/Makefile index bcf58f2b7c60..3fc6444fd48a 100644 --- a/games/xchain/Makefile +++ b/games/xchain/Makefile @@ -8,23 +8,23 @@ PORTNAME= xchain PORTVERSION= 1.0.2 CATEGORIES= games -MASTER_SITES= http://thor.cam.ac.uk/~ac212/xchain/ -DISTNAME= xchain_1.0-2 +MASTER_SITES= http://linux.tucows.com/files/x11/entertain/ +DISTNAME= ${PORTNAME}_1.0-2 MAINTAINER= ports@FreeBSD.org RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82 -USE_X_PREFIX= yes -WRKSRC= ${WRKDIR}/xchain-1.0 +WRKSRC= ${WRKDIR}/${PORTNAME}-1.0 +USE_X_PREFIX= yes MAN6= xchain.6 do-install: - @ ${INSTALL_PROGRAM} ${WRKSRC}/xchain ${PREFIX}/bin - @ ${INSTALL_MAN} ${WRKSRC}/xchain.6 ${PREFIX}/man/man6 - @ ${MKDIR} ${PREFIX}/share/doc/xchain - @ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xchain - @ ${INSTALL_DATA} ${WRKSRC}/copyright ${PREFIX}/share/doc/xchain + ${INSTALL_PROGRAM} ${WRKSRC}/xchain ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/xchain.6 ${PREFIX}/man/man6 + @${MKDIR} ${PREFIX}/share/doc/xchain + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xchain + ${INSTALL_DATA} ${WRKSRC}/copyright ${PREFIX}/share/doc/xchain .include <bsd.port.mk> diff --git a/games/xchain/files/patch-aa b/games/xchain/files/patch-aa index 37d8a233a25a..26f695862721 100644 --- a/games/xchain/files/patch-aa +++ b/games/xchain/files/patch-aa @@ -1,11 +1,12 @@ ---- xchain.c Wed Feb 25 15:10:15 1998 -+++ /home/andy/tmp/wrk/xchain.c Fri Mar 13 21:53:20 1998 -@@ -29,7 +29,7 @@ +--- xchain.c.orig Thu Feb 26 00:10:15 1998 ++++ xchain.c Sat Jun 10 11:29:42 2000 +@@ -29,7 +29,9 @@ #include <stdlib.h> #include <time.h> --#define DEF_WISH_PATH "/usr/bin/wish" -+#define DEF_WISH_PATH "/usr/local/bin/wish8.2" ++#ifndef DEF_WISH_PATH + #define DEF_WISH_PATH "/usr/bin/wish" ++#endif void wprintf(char *, ...); void draw_screen(void); diff --git a/games/xchain/files/patch-ab b/games/xchain/files/patch-ab index db30440ada24..733c7c56a9cd 100644 --- a/games/xchain/files/patch-ab +++ b/games/xchain/files/patch-ab @@ -1,5 +1,5 @@ ---- Makefile.orig Mon Apr 27 00:32:58 1998 -+++ Makefile Mon Apr 27 00:33:22 1998 +--- Makefile.orig Wed Feb 25 03:50:23 1998 ++++ Makefile Sat Jun 10 11:32:52 2000 @@ -1,8 +1,8 @@ DESTDIR = / # This is so dpkg-buildpackage can build in the correct dir @@ -7,7 +7,7 @@ -CC=gcc -CFLAGS=-O2 -Wall +#CC=gcc -+#CFLAGS=-O2 -Wall ++CFLAGS+=-DDEF_WISH_PATH=\"${LOCALBASE}/bin/wish8.2\" OBJS= xchain.o |