diff options
author | kuriyama <kuriyama@FreeBSD.org> | 1998-12-23 16:50:37 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 1998-12-23 16:50:37 +0800 |
commit | 8098fc3621807dedc0d44fb3f51b699c4283bcac (patch) | |
tree | 77d8c51844c5519e1de1dcea985a42c1ff194b23 | |
parent | 0719f120e01e4781afe02d8819ac94fa1ad6972d (diff) | |
download | freebsd-ports-gnome-8098fc3621807dedc0d44fb3f51b699c4283bcac.tar.gz freebsd-ports-gnome-8098fc3621807dedc0d44fb3f51b699c4283bcac.tar.zst freebsd-ports-gnome-8098fc3621807dedc0d44fb3f51b699c4283bcac.zip |
Use BUILD_DEPENDS instead of sucked do-extract.
Suggested by: asami
-rw-r--r-- | japanese/ddskk/Makefile | 15 | ||||
-rw-r--r-- | japanese/skk-elisp/Makefile | 15 | ||||
-rw-r--r-- | japanese/skk-tools/Makefile | 14 | ||||
-rw-r--r-- | japanese/skkserv/Makefile | 13 |
4 files changed, 11 insertions, 46 deletions
diff --git a/japanese/ddskk/Makefile b/japanese/ddskk/Makefile index bdffdb17939a..ba71621cdf33 100644 --- a/japanese/ddskk/Makefile +++ b/japanese/ddskk/Makefile @@ -3,7 +3,7 @@ # Date created: 31 Oct 1998 # Whom: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp> # -# $Id$ +# $Id: Makefile,v 1.1.1.1 1998/12/15 15:22:45 kuriyama Exp $ # DISTNAME= skk9.6 @@ -13,7 +13,8 @@ MASTER_SITES= ftp://skk.kuis.kyoto-u.ac.jp/skk/9.6/ MAINTAINER= matusita@jp.freebsd.org -BUILD_DEPENDS= mule:${.CURDIR}/../../editors/mule +BUILD_DEPENDS= mule:${.CURDIR}/../../editors/mule \ + /nonexistent:${SKK_MASTERDIR}:configure RUN_DEPENDS= ${PREFIX}/share/skk/${SKKJISYO}:${SKK_MASTERDIR} SKKJISYO_SIZE?= L @@ -28,16 +29,6 @@ ELISPSUBDIR= share/${EMACS}/site-lisp/skk MAKE_ARGS= SUBDIRS='lisp' EMACS=${EMACS} ELISPDIR=${PREFIX}/${ELISPSUBDIR} PLIST_SUB= EMACS=${EMACS} ELISPSUBDIR=${ELISPSUBDIR} -do-extract: - @echo "===> Extracting depends on ${SKK_MASTERDIR}" - @[ -d ${WRKDIR} ] || ${MKDIR} ${WRKDIR} - @if [ ! -f ${SKK_MASTERDIR}/work/.extract_done ]; then \ - (cd ${SKK_MASTERDIR}; make extract) ;\ - fi - @if [ ! -f ${SKK_MASTERDIR}/work/.configure_done ]; then \ - (cd ${SKK_MASTERDIR}; PREFIX=${PREFIX} make configure) ;\ - fi - # Our makeinfo can't handle files with Japanese characters. :< #pre-build: # (cd ${WRKSRC}/doc; \ diff --git a/japanese/skk-elisp/Makefile b/japanese/skk-elisp/Makefile index bdffdb17939a..ba71621cdf33 100644 --- a/japanese/skk-elisp/Makefile +++ b/japanese/skk-elisp/Makefile @@ -3,7 +3,7 @@ # Date created: 31 Oct 1998 # Whom: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp> # -# $Id$ +# $Id: Makefile,v 1.1.1.1 1998/12/15 15:22:45 kuriyama Exp $ # DISTNAME= skk9.6 @@ -13,7 +13,8 @@ MASTER_SITES= ftp://skk.kuis.kyoto-u.ac.jp/skk/9.6/ MAINTAINER= matusita@jp.freebsd.org -BUILD_DEPENDS= mule:${.CURDIR}/../../editors/mule +BUILD_DEPENDS= mule:${.CURDIR}/../../editors/mule \ + /nonexistent:${SKK_MASTERDIR}:configure RUN_DEPENDS= ${PREFIX}/share/skk/${SKKJISYO}:${SKK_MASTERDIR} SKKJISYO_SIZE?= L @@ -28,16 +29,6 @@ ELISPSUBDIR= share/${EMACS}/site-lisp/skk MAKE_ARGS= SUBDIRS='lisp' EMACS=${EMACS} ELISPDIR=${PREFIX}/${ELISPSUBDIR} PLIST_SUB= EMACS=${EMACS} ELISPSUBDIR=${ELISPSUBDIR} -do-extract: - @echo "===> Extracting depends on ${SKK_MASTERDIR}" - @[ -d ${WRKDIR} ] || ${MKDIR} ${WRKDIR} - @if [ ! -f ${SKK_MASTERDIR}/work/.extract_done ]; then \ - (cd ${SKK_MASTERDIR}; make extract) ;\ - fi - @if [ ! -f ${SKK_MASTERDIR}/work/.configure_done ]; then \ - (cd ${SKK_MASTERDIR}; PREFIX=${PREFIX} make configure) ;\ - fi - # Our makeinfo can't handle files with Japanese characters. :< #pre-build: # (cd ${WRKSRC}/doc; \ diff --git a/japanese/skk-tools/Makefile b/japanese/skk-tools/Makefile index f1ed7aa2587c..8bf712a6c506 100644 --- a/japanese/skk-tools/Makefile +++ b/japanese/skk-tools/Makefile @@ -3,7 +3,7 @@ # Date created: 31 Oct 1998 # Whom: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp> # -# $Id$ +# $Id: Makefile,v 1.1.1.1 1998/12/15 15:22:46 kuriyama Exp $ # DISTNAME= skk9.6 @@ -13,18 +13,10 @@ MASTER_SITES= ftp://skk.kuis.kyoto-u.ac.jp/skk/9.6/ MAINTAINER= matusita@jp.freebsd.org +BUILD_DEPENDS= /nonexistent:${SKK_MASTERDIR}:configure + SKK_MASTERDIR= ${.CURDIR}/../../japanese/skk-jisyo WRKSRC= ${SKK_MASTERDIR}/work/skk-9.6 MAKE_ARGS= SUBDIRS='jisyo-tools' -do-extract: - @echo "===> Extracting depends on ${SKK_MASTERDIR}" - @[ -d ${WRKDIR} ] || ${MKDIR} ${WRKDIR} - @if [ ! -f ${SKK_MASTERDIR}/work/.extract_done ]; then \ - (cd ${SKK_MASTERDIR}; make extract) ;\ - fi - @if [ ! -f ${SKK_MASTERDIR}/work/.configure_done ]; then \ - (cd ${SKK_MASTERDIR}; PREFIX=${PREFIX} make configure) ;\ - fi - .include <bsd.port.mk> diff --git a/japanese/skkserv/Makefile b/japanese/skkserv/Makefile index 434fe3773e1f..5c1606258123 100644 --- a/japanese/skkserv/Makefile +++ b/japanese/skkserv/Makefile @@ -3,7 +3,7 @@ # Date created: 31 Oct 1998 # Whom: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp> # -# $Id$ +# $Id: Makefile,v 1.1.1.1 1998/12/15 15:22:46 kuriyama Exp $ # DISTNAME= skk9.6 @@ -13,6 +13,7 @@ MASTER_SITES= ftp://skk.kuis.kyoto-u.ac.jp/skk/9.6/ MAINTAINER= matusita@jp.freebsd.org +BUILD_DEPENDS= /nonexistent:${SKK_MASTERDIR}:configure RUN_DEPENDS= ${PREFIX}/share/skk/${SKKJISYO}:${SKK_MASTERDIR} SKKJISYO_SIZE?= L @@ -23,16 +24,6 @@ MAKE_ARGS= SUBDIRS='skkserv' STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/skkserv.sh -do-extract: - @${ECHO} "===> Extracting depends on ${SKK_MASTERDIR}" - @[ -d ${WRKDIR} ] || ${MKDIR} ${WRKDIR} - @if [ ! -f ${SKK_MASTERDIR}/work/.extract_done ]; then \ - (cd ${SKK_MASTERDIR}; make extract) ;\ - fi - @if [ ! -f ${SKK_MASTERDIR}/work/.configure_done ]; then \ - (cd ${SKK_MASTERDIR}; PREFIX=${PREFIX} make configure) ;\ - fi - post-install: @if [ ! -f ${STARTUP_SCRIPT} ]; then \ ${ECHO} "Installing ${STARTUP_SCRIPT} file."; \ |