1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/textproc/sdcv/Makefile

65 lines
1.7 KiB
Makefile
Raw Normal View History

# Ports collection makefile for: sdcv
# Date created: 2005/07/07
# Whom: chinsan <chinsan.tw@gmail.com>
# $FreeBSD$
#
PORTNAME= sdcv
PORTVERSION= 0.4.2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
Change the following ports to my FreeBSD.org email. Approved by: delphij (mentor) archivers/pecl-bz2/Makefile archivers/pecl-lzf/Makefile archivers/pecl-rar/Makefile audio/fapg/Makefile audio/pecl-id3/Makefile chinese/CJKUnifonts/Makefile chinese/auto-tw-l10n/Makefile chinese/dfsongsd/Makefile chinese/fortunetw/Makefile chinese/gcin/Makefile chinese/joe/Makefile chinese/joe2/Makefile chinese/pcmanx/Makefile chinese/phpbb-tw/Makefile chinese/tatter-tools/Makefile chinese/ve/Makefile chinese/zhcon/Makefile devel/pear-Console_Getopt/Makefile devel/pear-Console_Table/Makefile devel/pear-PEAR_Info/Makefile devel/pecl-expect/Makefile games/p5-Baseball-Sabermetrics/Makefile graphics/epdfview/Makefile graphics/p5-Chart-Clicker/Makefile graphics/p5-GD-Thumbnail/Makefile graphics/p5-Visio/Makefile mail/pecl-esmtp/Makefile math/pecl-stats/Makefile misc/pear-Services_Weather/Makefile net/ldapdiff/Makefile net/p5-RRD-Simple/Makefile net/pear-Net_CDDB/Makefile net/pear-Net_SMS/Makefile net/pecl-cvsclient/Makefile security/gwee/Makefile security/p5-GSSAPI/Makefile security/pam-pgsql/Makefile security/pecl-ssh2/Makefile security/pecl-tcpwrap/Makefile sysutils/p5-BSD-Sysctl/Makefile sysutils/p5-File-Next/Makefile textproc/csvdiff/Makefile textproc/p5-CSS/Makefile textproc/p5-Pod-XML/Makefile textproc/p5-SGML-DTDParse/Makefile textproc/p5-Text-Emoticon-GoogleTalk/Makefile textproc/p5-XML-Handler-Dtd2DocBook/Makefile textproc/p5-XML-Handler-Dtd2Html/Makefile textproc/p5-XML-SAXDriver-CSV/Makefile textproc/p5-XML-SAXDriver-Excel/Makefile textproc/p5-ack/Makefile textproc/pear-XML_DTD/Makefile textproc/pecl-stem/Makefile textproc/scim-input-pad/Makefile textproc/sdcv/Makefile www/b2evolution/Makefile www/dokuwiki/Makefile www/dokuwiki-devel/Makefile www/lilurl/Makefile www/p5-HTML-TableParser/Makefile www/p5-HTML-WikiConverter/Makefile www/p5-HTML-WikiConverter-DokuWiki/Makefile www/p5-HTML-WikiConverter-Kwiki/Makefile www/p5-HTML-WikiConverter-Markdown/Makefile www/p5-HTML-WikiConverter-MediaWiki/Makefile www/p5-HTML-WikiConverter-MoinMoin/Makefile www/p5-HTML-WikiConverter-Oddmuse/Makefile www/p5-HTML-WikiConverter-PbWiki/Makefile www/p5-HTML-WikiConverter-PhpWiki/Makefile www/p5-HTML-WikiConverter-PmWiki/Makefile www/p5-HTML-WikiConverter-SnipSnap/Makefile www/p5-HTML-WikiConverter-Socialtext/Makefile www/p5-HTML-WikiConverter-TikiWiki/Makefile www/p5-HTML-WikiConverter-UseMod/Makefile www/p5-HTML-WikiConverter-WakkaWiki/Makefile www/p5-HTML-WikiConverter-WikkaWiki/Makefile www/p5-WWW-Baseball-NPB/Makefile www/p5-WWW-Comic/Makefile www/p5-WWW-VenusEnvy/Makefile www/pear-Services_Delicious/Makefile www/pear-UDDI/Makefile www/xpi-cssviewer/Makefile www/xpi-gmail-manager/Makefile www/xpi-google-notebook/Makefile www/xpi-mrtech-local-install/Makefile www/xpi-no-referrer/Makefile www/xpi-server_switcher/Makefile www/xpi-unplug/Makefile www/xpi-videodownloader/Makefile www/xpi-web_developer/Makefile x11/xdialog/Makefile x11-fm/pcmanfm/Makefile
2006-10-03 15:34:44 +00:00
MAINTAINER= chinsan@FreeBSD.org
COMMENT= A text-based utility for work with dictionaries in StarDict's format
USE_BZIP2= yes
USE_ICONV= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool:15
USE_GNOME= glib20
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
SUB_FILES= pkg-message
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
MAN1= sdcv.1
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64" || ${ARCH} == "ia64" || ${ARCH} == "sparc64"
BROKEN= Doesn't build on 64-bit platforms
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \
${WRKSRC}/doc/sdcv.1
@${REINPLACE_CMD} -e '1425 s, install-data,,' \
${WRKSRC}/po/Makefile.in.in
@${REINPLACE_CMD} -e 's, getopt.h,,g' ${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e '146 s|()|(int, char * const [], const char *)|g' \
${WRKSRC}/src/getopt.h
@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \
${WRKSRC}/src/sdcv.cpp
@${REINPLACE_CMD} -e 's,@mandir@/uk,@mandir@,' \
${WRKSRC}/doc/uk/Makefile.in
.if !defined(WITHOUT_NLS)
@${REINPLACE_CMD} -e 's,@USE_NLS@,yes,g' ${WRKSRC}/po/Makefile.in.in
@${REINPLACE_CMD} -e 's, getopt.h,,g; s,@USE_NLS@,yes,g' \
${WRKSRC}/src/Makefile.in
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>