84fe26a6ce
cd /usr/ports/japanese/slrn/work/slrn/src/objs; cc art.o chmap.o editscore.o group.o grplens.o hash.o help.o interp.o khenkan.o menu.o mime.o misc.o post.o score.o server.o sortdate.o slrn.o startup.o ttymsg.o util.o uudecode.o xover.o slrndir.o version.o print.o -o slrn -L/usr/local/lib -lslang -ltermcap -lm art.o: In function `wrap_article': art.o(.text+0xc78): undefined reference to `kanji_pos'
48 lines
1.4 KiB
Makefile
48 lines
1.4 KiB
Makefile
# New ports collection makefile for: ja-slrn
|
|
# Version required: 0.9.5.2
|
|
# Date created: 26 Jun 1998
|
|
# Whom: Takashi Mega <mega@minz.org>
|
|
#
|
|
# $Id: Makefile,v 1.2 1998/10/09 10:05:50 asami Exp $
|
|
|
|
DISTNAME= slrn0.9.5.2
|
|
PKGNAME= ja-slrn-0.9.5.2
|
|
CATEGORIES= japanese news
|
|
MASTER_SITES= http://master.debian.or.jp/~kikutani/slang/
|
|
DISTFILES= slrn0.9.5.2.tar.gz slrn-doc-j0.9.5.2-0.tar.gz
|
|
|
|
PATCH_SITES= http://master.debian.or.jp/~kikutani/slang/
|
|
PATCHFILES= slrn0.9.5.2jp0.pat.gz
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
MAINTAINER= mega@minz.org
|
|
|
|
BROKEN_ELF= yes
|
|
|
|
LIB_DEPENDS= slang.1:${PORTSDIR}/japanese/libslang
|
|
|
|
WRKSRC= ${WRKDIR}/slrn
|
|
JDOCSRC= ${WRKDIR}/slrn-doc-j0.9.5.2-0
|
|
HAS_CONFIGURE= yes
|
|
ALL_TARGET= all slrnpull
|
|
MANLANG= ja
|
|
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
|
|
${GZIP_CMD} ${PREFIX}/man/man1/slrn.1
|
|
${INSTALL_MAN} ${JDOCSRC}/slrn.1 ${PREFIX}/man/ja/man1
|
|
${CP} -r ${JDOCSRC} ${PREFIX}/share/doc/slrn/ja
|
|
|
|
.include <bsd.port.mk>
|