diff options
author | vanilla <vanilla@FreeBSD.org> | 2004-08-12 15:14:44 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2004-08-12 15:14:44 +0800 |
commit | d132dfa986b48a20d5f07068321cfb7349be4063 (patch) | |
tree | e7d88550f448479bd7e57086bc69d36e4022f956 /chinese/scim-pinyin | |
parent | cb64c85d8cba7dbd9dea887b7622bb338b3f8301 (diff) | |
download | freebsd-ports-gnome-d132dfa986b48a20d5f07068321cfb7349be4063.tar.gz freebsd-ports-gnome-d132dfa986b48a20d5f07068321cfb7349be4063.tar.zst freebsd-ports-gnome-d132dfa986b48a20d5f07068321cfb7349be4063.zip |
1: Make scim buildable on 4-X.
2: Add sf.net to MASTER_SITE.
3: make other ports BROKEN on 4-X.
PR: ports/70326
Submitted by: maintainer
Diffstat (limited to 'chinese/scim-pinyin')
-rw-r--r-- | chinese/scim-pinyin/Makefile | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/chinese/scim-pinyin/Makefile b/chinese/scim-pinyin/Makefile index c01ef604dd1a..485d540a0ae6 100644 --- a/chinese/scim-pinyin/Makefile +++ b/chinese/scim-pinyin/Makefile @@ -7,9 +7,11 @@ PORTNAME= scim-chinese PORTVERSION= 0.4.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= chinese -MASTER_SITES= http://freedesktop.org/~suzhe/scim-chinese/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + http://freedesktop.org/~suzhe/scim-chinese/ +MASTER_SITE_SUBDIR=scim MAINTAINER= gaoj@cpsc.ucalgary.ca COMMENT= SCIM Chinese Smart Pinyin input method @@ -22,15 +24,27 @@ USE_X_PREFIX= yes USE_ICONV= yes USE_GMAKE= yes USE_LIBTOOL_VER= 15 -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \ - LDFLAGS="-L${LOCALBASE}/lib -lintl" \ - PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ + +CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ PTHREAD_LIBS="${PTHREAD_LIBS}" +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500035 +BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport +RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/stlport" \ + LDFLAGS="-L${LOCALBASE}/lib -lstlport_gcc -lintl ${PTHREAD_LIBS}" +EXTRA_PATCHES= ${FILESDIR}/extra-patch-4-stable +.else +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \ + LDFLAGS="-L${LOCALBASE}/lib -lintl" +.endif + post-install: @${CAT} ${PKGMESSAGE} @${ECHO} @${ECHO} To display this message again, type \`make post-install\' @${ECHO} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |