summaryrefslogtreecommitdiff
path: root/japanese/ndtpd/Makefile
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1999-08-19 10:50:30 +0000
committerSatoshi Asami <asami@FreeBSD.org>1999-08-19 10:50:30 +0000
commit7810fb706b7a23be4c0ba0df0c3eac8aa3b3d172 (patch)
tree7e0475b3b0285bf94c178e763590639b372a1727 /japanese/ndtpd/Makefile
parentCorrect ome alignment problem with patch-ab, this caused make failure. (diff)
Upgrade to ndtpd-2.3.2 and eb-2.3.2. PR was for ndtpd-2.3.1 and
eb-2.3, I changed the versions and recalculated the checksums. Also, ndtpd/patches/patch-aa (by me) is for quieting ndtpd somewhat so it won't leave dozens of lines to /var/log/messages every time someone looks up a word, and eb/patches/patch-aa (by Kasahara-san, the original author) is for changing the shared lib versions. ndtpd/Makefile's LIB_DEPENDS was adjusted accordingly. PR: 12130 Submitted by: maintainer Reviewed (my changes) by: maintainer
Notes
Notes: svn path=/head/; revision=20810
Diffstat (limited to 'japanese/ndtpd/Makefile')
-rw-r--r--japanese/ndtpd/Makefile40
1 files changed, 26 insertions, 14 deletions
diff --git a/japanese/ndtpd/Makefile b/japanese/ndtpd/Makefile
index 69d6fae290e9..2aeab8baf450 100644
--- a/japanese/ndtpd/Makefile
+++ b/japanese/ndtpd/Makefile
@@ -1,37 +1,49 @@
# New ports collection makefile for: ndtpd
-# Version required: 2.2
+# Version required: 2.3.2
# Date created: 4 Aug 1998
# Whom: Motoyuki Kasahara <m-kasahr@sra.co.jp>
#
-# $Id: Makefile,v 1.7 1999/03/15 13:00:35 taoka Exp $
+# $Id: Makefile,v 1.8 1999/06/05 22:30:04 mharo Exp $
#
-DISTNAME= ndtpd-2.2.2
-PKGNAME= ja-ndtpd-2.2.2
+DISTNAME= ndtpd-2.3.2
+PKGNAME= ja-ndtpd-2.3.2
CATEGORIES= japanese
MASTER_SITES= ftp://ftp.sra.co.jp/pub/net/ndtp/ndtpd/ \
- ftp://ftp.sra.co.jp/pub/net/ndtp/ndtpd/old/
+ ftp://ftp.sra.co.jp/pub/net/ndtp/ndtpd/old/ \
+ ftp://ftp.mei.co.jp/free/others/Dictionary/ndtp/ndtpd/
MAINTAINER= takamune@avrl.mei.co.jp
-LIB_DEPENDS= eb.2:${PORTSDIR}/japanese/eb
+LIB_DEPENDS= eb.3:${PORTSDIR}/japanese/eb
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --localstatedir=/var --with-eb --with-zlib \
+USE_LIBTOOL= yes
+CONFIGURE_ARGS= --localstatedir=${VARDIR} --with-eb --with-zlib \
--with-eb-includes=${PREFIX}/include \
--with-eb-libraries=${PREFIX}/lib
-
CONFIGURE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
INSTALL_DATA="${INSTALL_DATA}"
+
.if !defined(PACKAGE_BUILDING)
IS_INTERACTIVE= Maybe_interactive_at_install_stage
.endif
+PLIST_SUB= VARDIR=${VARDIR} OWNER=${OWNER} GROUP=${GROUP} MODE=${MODE}
+
+# Local variables
+VARDIR= /var
+OWNER= nobody
+GROUP= nogroup
+MODE= 755
+STARTUP_SCRIPT= ndtpd.sh.sample
+INSTALL_DIR= ${INSTALL} -d -o ${OWNER} -g ${GROUP} -m ${MODE}
post-install:
-.for info in ndtpd ndtpd-ja
- install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
-.endfor
- @${SETENV} PKG_PREFIX=${PREFIX} IS_INTERACTIVE="${IS_INTERACTIVE}" \
- ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
+ ${SED} "s,@prefix@,${PREFIX}," ${FILESDIR}/${STARTUP_SCRIPT} \
+ > ${WRKDIR}/${STARTUP_SCRIPT}
+ ${INSTALL_SCRIPT} ${WRKDIR}/${STARTUP_SCRIPT} ${PREFIX}/etc/rc.d
+ ${INSTALL_DIR} ${VARDIR}/ndtpd
+ @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+ @${ECHO}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>