1998-07-19 23:04:33 -04:00
|
|
|
# New ports collection makefile for: ja-slrn
|
1999-04-30 23:33:17 -04:00
|
|
|
# Version required: 0.9.5.4
|
1998-07-19 23:04:33 -04:00
|
|
|
# Date created: 26 Jun 1998
|
|
|
|
# Whom: Takashi Mega <mega@minz.org>
|
|
|
|
#
|
1999-04-30 23:33:17 -04:00
|
|
|
# $Id: Makefile,v 1.5 1999/04/02 03:55:14 taoka Exp $
|
1998-07-19 23:04:33 -04:00
|
|
|
|
1999-04-01 22:55:14 -05:00
|
|
|
DISTNAME= slrn0.9.5.4
|
|
|
|
PKGNAME= ja-slrn-0.9.5.4
|
1998-07-19 23:04:33 -04:00
|
|
|
CATEGORIES= japanese news
|
1999-04-01 22:55:14 -05:00
|
|
|
MASTER_SITES= ftp://space.mit.edu/pub/davis/slrn/ \
|
|
|
|
http://home.sprintmail.com/~kikutani/slang/
|
|
|
|
DISTFILES= slrn0.9.5.4.tar.gz slrn-doc-j0.9.5.3-0.tar.gz
|
1998-07-19 23:04:33 -04:00
|
|
|
|
1999-04-01 22:55:14 -05:00
|
|
|
PATCH_SITES= http://home.sprintmail.com/~kikutani/slang/
|
|
|
|
PATCHFILES= slrn0.9.5.4jp0.pat.gz
|
1998-07-19 23:04:33 -04:00
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
|
|
|
MAINTAINER= mega@minz.org
|
|
|
|
|
1999-04-30 23:33:17 -04:00
|
|
|
LIB_DEPENDS= slang.2:${PORTSDIR}/japanese/libslang
|
1998-07-19 23:04:33 -04:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/slrn
|
1999-04-01 22:55:14 -05:00
|
|
|
JDOCSRC= ${WRKDIR}/slrn-doc-j0.9.5.3-0
|
1998-07-19 23:04:33 -04:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
ALL_TARGET= all slrnpull
|
1999-04-01 22:55:14 -05:00
|
|
|
MANLANG= ja ''
|
1998-07-19 23:04:33 -04:00
|
|
|
MAN1= slrn.1
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
@(cd ${WRKSRC}/src; make ${ALL_TARGET})
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${ECHO} "installing slrn and slrnpull in ${PREFIX}/bin"
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/objs/slrn ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/objs/slrnpull ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/objs/chkslang ${PREFIX}/bin
|
|
|
|
${ECHO} "installing documents files in ${PREFIX}/share/doc/slrn"
|
|
|
|
${CP} -r ${WRKSRC}/doc ${PREFIX}/share/doc/slrn
|
|
|
|
${CP} -r ${WRKSRC}/slrnpull ${PREFIX}/share/doc/slrnpull
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/slrn.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${JDOCSRC}/slrn.1 ${PREFIX}/man/ja/man1
|
|
|
|
${CP} -r ${JDOCSRC} ${PREFIX}/share/doc/slrn/ja
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|