freebsd-ports/japanese/pine/Makefile
Satoshi Asami cac7f46a33 Oops, don't use ${INSTALL_PROGRAM} for shared libraries...it won't
complain, but the resulting mess is quite useless because the library
won't have any symbols!
1996-09-20 23:04:17 +00:00

67 lines
2.3 KiB
Makefile

# New ports collection makefile for: jp-pine
# Version required: 3.95lj1.1b3
# Date created: 01 May 1996
# Whom: masafumi
#
# $Id: Makefile,v 1.4 1996/09/20 20:29:03 max Exp $
#
DISTNAME= pine3.95
PKGNAME= jp-pine-3.95
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
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)
do-build:
(cd ${WRKSRC}; ./build bsf)
do-install:
${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_DATA} ${WRKSRC}/bin/libc-client.so.1.3 $(PREFIX)/lib
${INSTALL_DATA} ${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_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:
.if !defined(NOMANCOMPRESS)
gzip -9nf ${PREFIX}/man/man1/pine.1
gzip -9nf ${PREFIX}/man/man1/pilot.1
gzip -9nf ${PREFIX}/man/man1/pico.1
gzip -9nf ${PREFIX}/man/man8/imapd.8c
gzip -9nf ${PREFIX}/man/man8/ipopd.8c
.endif
.include <bsd.port.mk>