f18cbf2fa6
- switch devel/gettext (0.11.1) on, installing full package - flip devel/gettext-old (0.10.35) to installing only static binaries with a "-old" suffix -- gettext-old will have its deorbit burn sequence initiated just after 4.6-RELEASE - fix up ports for the new world order Reviewed by: portmgr
40 lines
951 B
Makefile
40 lines
951 B
Makefile
# New ports collection makefile for: namazu2
|
|
# Date created: 25 February 2000
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= namazu
|
|
PORTVERSION= 2.0.10
|
|
PORTREVISION= 1
|
|
CATEGORIES+= databases www textproc
|
|
MASTER_SITES= http://www.namazu.org/stable/
|
|
PKGNAMESUFFIX= 2
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext
|
|
BUILD_DEPENDS= ${PM_BASE}/File/MMagic.pm:${PORTSDIR}/devel/p5-File-MMagic
|
|
RUN_DEPENDS= ${PM_BASE}/File/MMagic.pm:${PORTSDIR}/devel/p5-File-MMagic
|
|
# xlHtml:${PORTSDIR}/textproc/xlhtml \
|
|
# wvHtml:${PORTSDIR}/textproc/wv
|
|
|
|
PM_BASE= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
|
|
|
|
USE_PERL5= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
MAN1= namazu.1 mknmz.1
|
|
INSTALLS_SHLIB= yes
|
|
|
|
post-configure:
|
|
${PERL} -i~ -pe 's,^(LIBS *= *)(.*),$$1 -L${LOCALBASE}/lib -lintl $$2\n,' ${WRKSRC}/nmz/Makefile
|
|
|
|
post-install:
|
|
.if defined(NOPORTDOCS)
|
|
${RM} -rf ${PREFIX}/share/namazu/doc
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|