aboutsummaryrefslogtreecommitdiffstats
path: root/converters/bsdconv/Makefile
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2011-04-27 02:19:19 +0800
committersunpoet <sunpoet@FreeBSD.org>2011-04-27 02:19:19 +0800
commit136ba809e6099f392811ae8354e60587a1db22fc (patch)
tree78323b205bab1352f759f5bf2ae4ed737319e830 /converters/bsdconv/Makefile
parente55c2dd7d71f4753e7c444bf5a6c174918d7f6ba (diff)
downloadfreebsd-ports-gnome-136ba809e6099f392811ae8354e60587a1db22fc.tar.gz
freebsd-ports-gnome-136ba809e6099f392811ae8354e60587a1db22fc.tar.zst
freebsd-ports-gnome-136ba809e6099f392811ae8354e60587a1db22fc.zip
- Update to 4.8
PR: ports/156619 Submitted by: Kuan-Chung Chiu <buganini@gmail.com> (maintainer)
Diffstat (limited to 'converters/bsdconv/Makefile')
-rw-r--r--converters/bsdconv/Makefile30
1 files changed, 23 insertions, 7 deletions
diff --git a/converters/bsdconv/Makefile b/converters/bsdconv/Makefile
index f75dfeb63550..fa8a6df55735 100644
--- a/converters/bsdconv/Makefile
+++ b/converters/bsdconv/Makefile
@@ -6,21 +6,37 @@
#
PORTNAME= bsdconv
-PORTVERSION= 4.3
+PORTVERSION= 4.8
CATEGORIES= converters
-MASTER_SITES= http://cloud.github.com/downloads/buganini/bsdconv/
+MASTER_SITES= https://github.com/buganini/${PORTNAME}/tarball/${PORTVERSION}/
+DISTNAME= buganini-${PORTNAME}-${PORTVERSION}-0-g${GITVERSION}
MAINTAINER= buganini@gmail.com
COMMENT= BSD licensed charset/encoding converter library
+LICENSE= BSD
+
+GITVERSION= 75b8c7d
+FETCH_ARGS= -pRr
+WRKSRC= ${WRKDIR}/buganini-${PORTNAME}-${GITVERSION}
+
+OPTIONS= EXTRA "Extra codecs (Chinese specifics)" off
+
USE_LDCONFIG= yes
MAKE_ARGS= PREFIX=${PREFIX}
-.include <bsd.port.pre.mk>
+ALL_TARGET= libbsdconv bsdconv_mktable meta bsdconv codecs_basic
+INSTALL_TARGET= install_main install_basic
+
+.include <bsd.port.options.mk>
-#.if ${OSVERSION} < 701101
-EXTRA_PATCHES= ${FILESDIR}/extra-patch-strndup
-#.endif
+.if defined(WITH_EXTRA)
+ALL_TARGET+= codecs_extra
+INSTALL_TARGET+=install_extra
+PLIST_SUB= EXTRA=""
+.else
+PLIST_SUB= EXTRA="@comment "
+.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>