2000-03-01 21:56:15 +01:00
|
|
|
# New ports collection makefile for: namazu2
|
|
|
|
# Date created: 25 February 2000
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
1999-03-31 13:52:07 +02:00
|
|
|
#
|
1999-08-25 07:28:01 +02:00
|
|
|
# $FreeBSD$
|
1999-03-31 13:52:07 +02:00
|
|
|
#
|
|
|
|
|
2001-09-12 12:54:22 +02:00
|
|
|
PORTNAME= namazu
|
2002-09-13 14:10:50 +02:00
|
|
|
PORTVERSION= 2.0.12
|
2001-10-21 22:27:13 +02:00
|
|
|
CATEGORIES+= databases www textproc
|
2000-03-01 21:56:15 +01:00
|
|
|
MASTER_SITES= http://www.namazu.org/stable/
|
2001-09-12 12:54:22 +02:00
|
|
|
PKGNAMESUFFIX= 2
|
1999-03-31 13:52:07 +02:00
|
|
|
|
2000-04-24 17:51:20 +02:00
|
|
|
MAINTAINER= knu@FreeBSD.org
|
1999-03-31 13:52:07 +02:00
|
|
|
|
2002-09-13 14:10:50 +02:00
|
|
|
PATCH_SITES= ${MASTER_SITES}
|
|
|
|
PATCHFILES= ${DISTNAME}-de.diff
|
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
2002-08-01 18:22:41 +02:00
|
|
|
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
|
2001-10-21 22:27:13 +02:00
|
|
|
BUILD_DEPENDS= ${PM_BASE}/File/MMagic.pm:${PORTSDIR}/devel/p5-File-MMagic
|
|
|
|
RUN_DEPENDS= ${PM_BASE}/File/MMagic.pm:${PORTSDIR}/devel/p5-File-MMagic
|
2001-09-12 12:54:22 +02:00
|
|
|
# xlHtml:${PORTSDIR}/textproc/xlhtml \
|
|
|
|
# wvHtml:${PORTSDIR}/textproc/wv
|
2000-03-01 21:56:15 +01:00
|
|
|
|
|
|
|
PM_BASE= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
|
1999-03-31 13:52:07 +02:00
|
|
|
|
|
|
|
USE_PERL5= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2000-03-01 21:56:15 +01:00
|
|
|
MAN1= namazu.1 mknmz.1
|
2000-06-17 07:34:04 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-03-01 21:56:15 +01:00
|
|
|
|
2001-10-13 11:48:39 +02:00
|
|
|
post-configure:
|
|
|
|
${PERL} -i~ -pe 's,^(LIBS *= *)(.*),$$1 -L${LOCALBASE}/lib -lintl $$2\n,' ${WRKSRC}/nmz/Makefile
|
|
|
|
|
2003-01-14 12:10:07 +01:00
|
|
|
pre-install:
|
|
|
|
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/pkg-install ${PKGNAME} PRE-INSTALL
|
|
|
|
|
2000-03-01 21:56:15 +01:00
|
|
|
post-install:
|
2003-01-14 12:10:07 +01:00
|
|
|
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/pkg-install ${PKGNAME} POST-INSTALL
|
2001-02-10 14:19:57 +01:00
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
${RM} -rf ${PREFIX}/share/namazu/doc
|
|
|
|
.endif
|
1999-03-31 13:52:07 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|