1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/japanese/pine/Makefile
1999-08-25 05:28:01 +00:00

53 lines
1.5 KiB
Makefile

# New ports collection makefile for: jp-pine
# Version required: 3.95lj1.1b3
# Date created: 01 May 1996
# Whom: masafumi
#
# $FreeBSD$
#
DISTNAME= pine3.95
PKGNAME= ja-pine-3.95
CATEGORIES= japanese mail
MASTER_SITES= ftp://ftp.cac.washington.edu/pine/ \
${MASTER_SITE_PORTS_JP}
DISTFILES= pine3.95.tar.gz pine3.95lj1.1b2.tar.gz
PATCHFILES= pine3.95lj1.1b2-b3.diff.gz
PATCH_SITES= ${MASTER_SITE_PORTS_JP}
MAINTAINER= max@FreeBSD.ORG
BROKEN_ELF= yes
LIB_DEPENDS= canna.1:${PORTSDIR}/japanese/Canna
BUILD_DEPENDS= ${PREFIX}/lib/libcanna.a:${PORTSDIR}/japanese/Canna
EXTRACT_ONLY= pine3.95.tar.gz
MAN1= pine.1 pilot.1 pico.1
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/pico ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/pilot ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/pine ${PREFIX}/bin
${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
${MKDIR} ${PREFIX}/lib/pine
${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
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>