1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

Use BUILD_DEPENDS instead of sucked do-extract.

Suggested by:	asami
This commit is contained in:
Jun Kuriyama 1998-12-23 08:50:37 +00:00
parent b7246b65f1
commit 0289ec0e03
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=15523
4 changed files with 11 additions and 46 deletions

View File

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

View File

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

View File

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

View File

@ -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."; \