1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Cleaned up do-install: target.

Submitted by:	asami@FreeBSD.ORG
This commit is contained in:
Masafumi Max NAKANE 1996-09-20 20:29:03 +00:00
parent 8b1ae96fb5
commit fde61f1cea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=3823

View File

@ -3,7 +3,7 @@
# Date created: 01 May 1996
# Whom: masafumi
#
# $Id: Makefile,v 1.11 1995/08/14 11:52:36 asami Exp $
# $Id: Makefile,v 1.3 1996/09/20 05:46:52 max Exp $
#
DISTNAME= pine3.95
@ -12,45 +12,46 @@ CATEGORIES+= japanese mail
MASTER_SITES= ftp://ftp.cac.washington.edu/pine/ \
ftp://ftp.noc.titech.ac.jp/pub/tmp/aki/pine/pine3.95/
DISTFILES= pine3.95.tar.gz pine3.95lj1.1b2.tar.gz
EXTRACT_ONLY= pine3.95.tar.gz
PATCHFILES= pine3.95lj1.1b2-b3.diff.gz
PATCH_SITES= ftp://ftp.noc.titech.ac.jp/pub/tmp/aki/pine/pine3.95/
MAINTAINER= max@FreeBSD.ORG
EXTRACT_ONLY= pine3.95.tar.gz
LIB_DEPENDS= canna\\.1\\.:${PORTSDIR}/japanese/Canna
BUILD_DEPENDS= ${PREFIX}/lib/libcanna.a:${PORTSDIR}/japanese/Canna
pre-patch:
@(cd ${WRKSRC}; \
tar zxf ${DISTDIR}/pine3.95lj1.1b2.tar.gz; \
patch -s -p0 < japan/pine3.95lj1.1b2.diff)
LIB_DEPENDS= canna\\.1\\.:${PORTSDIR}/japanese/Canna
BUILD_DEPENDS= ${PREFIX}/lib/libcanna.a:${PORTSDIR}/japanese/Canna
do-build:
(cd ${WRKSRC}; ./build bsf)
do-install:
install -cs -o bin -g bin ${WRKSRC}/bin/imapd ${PREFIX}/libexec
install -cs -o bin -g bin ${WRKSRC}/bin/ipop2d ${PREFIX}/libexec
install -cs -o bin -g bin ${WRKSRC}/bin/ipop3d ${PREFIX}/libexec
install -cs -o bin -g bin ${WRKSRC}/bin/mtest ${PREFIX}/bin
install -cs -o bin -g bin ${WRKSRC}/bin/pico ${PREFIX}/bin
install -cs -o bin -g bin ${WRKSRC}/bin/pilot ${PREFIX}/bin
install -cs -o bin -g bin ${WRKSRC}/bin/pine ${PREFIX}/bin
install -cs -o bin -g bin ${WRKSRC}/bin/libc-client.so.1.3 $(PREFIX)/lib
install -cs -o bin -g bin ${WRKSRC}/bin/libpico.so.1.3 $(PREFIX)/lib
install -c -o bin -g bin ${WRKSRC}/doc/pico.1 ${PREFIX}/man/man1
install -c -o bin -g bin ${WRKSRC}/doc/pilot.1 ${PREFIX}/man/man1
install -c -o bin -g bin ${WRKSRC}/doc/pine.1 ${PREFIX}/man/man1
@(if [ ! -d ${PREFIX}/lib/pine ]; then; \
${INSTALL_PROGRAM} ${WRKSRC}/bin/imapd ${PREFIX}/libexec
${INSTALL_PROGRAM} ${WRKSRC}/bin/ipop2d ${PREFIX}/libexec
${INSTALL_PROGRAM} ${WRKSRC}/bin/ipop3d ${PREFIX}/libexec
${INSTALL_PROGRAM} ${WRKSRC}/bin/mtest ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/pico ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/pilot ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/pine ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/libc-client.so.1.3 $(PREFIX)/lib
${INSTALL_PROGRAM} ${WRKSRC}/bin/libpico.so.1.3 $(PREFIX)/lib
${INSTALL_MAN} ${WRKSRC}/doc/pico.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/pilot.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/pine.1 ${PREFIX}/man/man1
@(if [ ! -d ${PREFIX}/lib/pine ]; then \
/bin/mkdir -p ${PREFIX}/lib/pine ;\
fi)
install -c -o bin -g bin ${WRKSRC}/pine/pine.hlp ${PREFIX}/lib/pine
install -c -o bin -g bin ${WRKSRC}/pine/pine.ndx ${PREFIX}/lib/pine
install -c -o bin -g bin ${WRKSRC}/pine/pine_ja.hlp ${PREFIX}/lib/pine
install -c -o bin -g bin ${WRKSRC}/pine/pine_ja.ndx ${PREFIX}/lib/pine
install -c -o bin -g bin ${WRKSRC}/imap/systype/imapd/imapd.8c ${PREFIX}/man/man8
install -c -o bin -g bin ${WRKSRC}/imap/systype/ipopd/ipopd.8c ${PREFIX}/man/man8
${INSTALL_DATA} ${WRKSRC}/pine/pine.hlp ${PREFIX}/lib/pine
${INSTALL_DATA} ${WRKSRC}/pine/pine.ndx ${PREFIX}/lib/pine
${INSTALL_DATA} ${WRKSRC}/pine/pine_ja.hlp ${PREFIX}/lib/pine
${INSTALL_DATA} ${WRKSRC}/pine/pine_ja.ndx ${PREFIX}/lib/pine
${INSTALL_MAN} ${WRKSRC}/imap/systype/imapd/imapd.8c ${PREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/imap/systype/ipopd/ipopd.8c ${PREFIX}/man/man8
ldconfig -vm /usr/local/lib
post-install: