aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1995-04-24 16:26:50 +0800
committerasami <asami@FreeBSD.org>1995-04-24 16:26:50 +0800
commitc903e995d63047ece1ddcf410bca9f95b77c861f (patch)
tree0eab7475f9f77bd34bcad7dd306517df69aaa359 /net
parent0103c184bda3b040631d3bf5f87e9f91944bdb98 (diff)
downloadfreebsd-ports-gnome-c903e995d63047ece1ddcf410bca9f95b77c861f.tar.gz
freebsd-ports-gnome-c903e995d63047ece1ddcf410bca9f95b77c861f.tar.zst
freebsd-ports-gnome-c903e995d63047ece1ddcf410bca9f95b77c861f.zip
(1) Use PATCHFILES.
(2) Call scripts/untrue for all the Makefile.in's from pre-configure.
Diffstat (limited to 'net')
-rw-r--r--net/scotty/Makefile24
-rw-r--r--net/scotty3/Makefile24
2 files changed, 14 insertions, 34 deletions
diff --git a/net/scotty/Makefile b/net/scotty/Makefile
index 0243d498ba85..436c3508a3ce 100644
--- a/net/scotty/Makefile
+++ b/net/scotty/Makefile
@@ -3,15 +3,16 @@
# Date created: 18 Februar 1995
# Whom: Gennady Sorokopud <gena@netvision.net.il>
#
-# $Id: Makefile,v 1.4 1995/04/15 05:41:51 asami Exp $
+# $Id: Makefile,v 1.5 1995/04/18 05:42:21 asami Exp $
#
DISTNAME= scotty-1.2.0
CATEGORIES+= networking
MASTER_SITES= ftp://ftp.ibr.cs.tu-bs.de/pub/local/tkined/
-DISTFILES= scotty-1.2.0.tar.gz scotty-1.2.0-1.2.1.diff.gz \
- scotty-1.2.1-1.2.2.diff.gz
-EXTRACT_ONLY= scotty-1.2.0.tar.gz
+
+PATCHFILES= scotty-1.2.0-1.2.1.diff.gz scotty-1.2.1-1.2.2.diff.gz
+PATCH_SITES= ftp://ftp.ibr.cs.tu-bs.de/pub/local/tkined/
+PATCH_DIST_STRIP= -p1
LIB_DEPENDS= tk\\.3\\.:${PORTSDIR}/x11/tk \
tcl\\.7\\.:${PORTSDIR}/lang/tcl
@@ -22,21 +23,10 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --with-x --prefix=${PREFIX} --with-tcl-include=${PORTSDIR}/lang/tcl/work/tcl7.3 --with-tcl-library=${PORTSDIR}/lang/tcl/work/tcl7.3 --with-tk-include=${PORTSDIR}/x11/tk/work/tk3.6 --with-tk-library=${PORTSDIR}/x11/tk/work/tk3.6 --with-blt-library=${PORTSDIR}/lang/tclX/work/tclX7.3b/tclmaster/lib
-pre-patch:
- @echo "===> Pre-patching for ${DISTNAME}"
- @if [ ! -f ${CONFIGURE_COOKIE} ]; then \
- ln -s ${WRKSRC} ${WRKDIR}/scotty-1.2.1; \
- ln -s ${WRKSRC} ${WRKDIR}/scotty-1.2.2; \
- zcat ${DISTDIR}/scotty-1.2.0-1.2.1.diff.gz | \
- patch --quiet -E -p0 -d ${WRKDIR}; \
- zcat ${DISTDIR}/scotty-1.2.1-1.2.2.diff.gz | \
- patch --quiet -E -p0 -d ${WRKDIR}; \
- rm -f ${WRKDIR}/scotty-1.2.1; \
- rm -f ${WRKDIR}/scotty-1.2.2; \
- fi
+pre-configure:
+ @find ${WRKSRC} -name Makefile.in -exec ${SCRIPTDIR}/untrue \{} \;
pre-install:
- @echo "===> Pre-installing for ${DISTNAME}"
@cd ${WRKSRC};make sinstall
.include <bsd.port.mk>
diff --git a/net/scotty3/Makefile b/net/scotty3/Makefile
index 0243d498ba85..436c3508a3ce 100644
--- a/net/scotty3/Makefile
+++ b/net/scotty3/Makefile
@@ -3,15 +3,16 @@
# Date created: 18 Februar 1995
# Whom: Gennady Sorokopud <gena@netvision.net.il>
#
-# $Id: Makefile,v 1.4 1995/04/15 05:41:51 asami Exp $
+# $Id: Makefile,v 1.5 1995/04/18 05:42:21 asami Exp $
#
DISTNAME= scotty-1.2.0
CATEGORIES+= networking
MASTER_SITES= ftp://ftp.ibr.cs.tu-bs.de/pub/local/tkined/
-DISTFILES= scotty-1.2.0.tar.gz scotty-1.2.0-1.2.1.diff.gz \
- scotty-1.2.1-1.2.2.diff.gz
-EXTRACT_ONLY= scotty-1.2.0.tar.gz
+
+PATCHFILES= scotty-1.2.0-1.2.1.diff.gz scotty-1.2.1-1.2.2.diff.gz
+PATCH_SITES= ftp://ftp.ibr.cs.tu-bs.de/pub/local/tkined/
+PATCH_DIST_STRIP= -p1
LIB_DEPENDS= tk\\.3\\.:${PORTSDIR}/x11/tk \
tcl\\.7\\.:${PORTSDIR}/lang/tcl
@@ -22,21 +23,10 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --with-x --prefix=${PREFIX} --with-tcl-include=${PORTSDIR}/lang/tcl/work/tcl7.3 --with-tcl-library=${PORTSDIR}/lang/tcl/work/tcl7.3 --with-tk-include=${PORTSDIR}/x11/tk/work/tk3.6 --with-tk-library=${PORTSDIR}/x11/tk/work/tk3.6 --with-blt-library=${PORTSDIR}/lang/tclX/work/tclX7.3b/tclmaster/lib
-pre-patch:
- @echo "===> Pre-patching for ${DISTNAME}"
- @if [ ! -f ${CONFIGURE_COOKIE} ]; then \
- ln -s ${WRKSRC} ${WRKDIR}/scotty-1.2.1; \
- ln -s ${WRKSRC} ${WRKDIR}/scotty-1.2.2; \
- zcat ${DISTDIR}/scotty-1.2.0-1.2.1.diff.gz | \
- patch --quiet -E -p0 -d ${WRKDIR}; \
- zcat ${DISTDIR}/scotty-1.2.1-1.2.2.diff.gz | \
- patch --quiet -E -p0 -d ${WRKDIR}; \
- rm -f ${WRKDIR}/scotty-1.2.1; \
- rm -f ${WRKDIR}/scotty-1.2.2; \
- fi
+pre-configure:
+ @find ${WRKSRC} -name Makefile.in -exec ${SCRIPTDIR}/untrue \{} \;
pre-install:
- @echo "===> Pre-installing for ${DISTNAME}"
@cd ${WRKSRC};make sinstall
.include <bsd.port.mk>