aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/ndtpd/Makefile
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-04-22 20:32:14 +0800
committerasami <asami@FreeBSD.org>1998-04-22 20:32:14 +0800
commit090676298ea93c7a26e08cd61b27a262a2e52e22 (patch)
treeadd09d6c6d420dd5b00af7080e89dc1b4348d16c /japanese/ndtpd/Makefile
parentd803cb0a7321c266815be1680427e8434ff2b22a (diff)
downloadfreebsd-ports-gnome-090676298ea93c7a26e08cd61b27a262a2e52e22.tar.gz
freebsd-ports-gnome-090676298ea93c7a26e08cd61b27a262a2e52e22.tar.zst
freebsd-ports-gnome-090676298ea93c7a26e08cd61b27a262a2e52e22.zip
Move distfiles (there are only 13 of them) to subdirectory.
Diffstat (limited to 'japanese/ndtpd/Makefile')
-rw-r--r--japanese/ndtpd/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/japanese/ndtpd/Makefile b/japanese/ndtpd/Makefile
index 7b5329a9568e..8b30d8fed06f 100644
--- a/japanese/ndtpd/Makefile
+++ b/japanese/ndtpd/Makefile
@@ -3,7 +3,7 @@
# Date created: 2 Oct 1997
# Whom: Motoyuki Kasahara <m-kasahr@sra.co.jp>
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1998/04/21 15:10:50 kuriyama Exp $
#
DISTNAME= ndtpd-1.0.6
@@ -33,6 +33,7 @@ APPENDIXFILES= chujiten-2.3.tar.gz \
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+DIST_SUBDIR= ndtpd
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var --enable-ja-info
CONFIGURE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
@@ -45,7 +46,7 @@ post-install:
dir="`echo $$i | ${SED} 's/\.tar\.gz$$//'`"; \
${RM} -rf ${PREFIX}/${APPENDIXDIR}/$$dir; \
(cd ${PREFIX}/${APPENDIXDIR} && ${EXTRACT_CMD} \
- ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/$$i ${EXTRACT_AFTER_ARGS}); \
+ ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DIST_SUBDIR}/$$i ${EXTRACT_AFTER_ARGS}); \
done
if [ ! -f ${PREFIX}/info/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
@@ -61,7 +62,7 @@ plist: extract
${CAT} ${PKGDIR}/PLIST.top > ${PKGDIR}/PLIST
for i in ${APPENDIXFILES}; do \
(cd ${WRKDIR}; \
- ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/$$i \
+ ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DIST_SUBDIR}/$$i \
${EXTRACT_AFTER_ARGS}; \
find "`echo $$i | ${SED} 's/\.tar\.gz$$//'`" -type f -print \
| ${SED} 's;^;${APPENDIXDIR}/;' >> ${PKGDIR}/PLIST); \