diff options
author | vanilla <vanilla@FreeBSD.org> | 2005-09-16 10:57:35 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2005-09-16 10:57:35 +0800 |
commit | c146ab8f0cd8d43cfc2ce1756f7db89acfe7273b (patch) | |
tree | bfa4e285a022bf9df1ef66c9f447e9ff8c1fa825 /chinese/gcin/Makefile | |
parent | d8be6a7d33500fe3792943014dd423773cb15907 (diff) | |
download | freebsd-ports-gnome-c146ab8f0cd8d43cfc2ce1756f7db89acfe7273b.tar.gz freebsd-ports-gnome-c146ab8f0cd8d43cfc2ce1756f7db89acfe7273b.tar.zst freebsd-ports-gnome-c146ab8f0cd8d43cfc2ce1756f7db89acfe7273b.zip |
Upgrade to 1.0.4.
PR: ports/84803
Submitted by: chinsan at gmail dot com
Diffstat (limited to 'chinese/gcin/Makefile')
-rw-r--r-- | chinese/gcin/Makefile | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/chinese/gcin/Makefile b/chinese/gcin/Makefile index 636876a4a932..6f443916bb71 100644 --- a/chinese/gcin/Makefile +++ b/chinese/gcin/Makefile @@ -6,8 +6,8 @@ # PORTNAME= gcin -PORTVERSION= 1.0.1 -PORTREVISION= 1 +PORTVERSION= 1.0.4 +PORTREVISION= 0 CATEGORIES= chinese MASTER_SITES= http://www.csie.nctu.edu.tw/~cp76/gcin/download/ \ http://edt1023.sayya.org/gcin/source/ \ @@ -26,12 +26,13 @@ USE_BZIP2= YES GNU_CONFIGURE= YES USE_GNOME= gtk20 USE_GMAKE= YES +USE_REINPLACE= YES MAN1= gcin.1 gcin2tab.1 .include <bsd.port.pre.mk> -pre-everything:: +pre-extract: @${ECHO_MSG} '' @${ECHO_MSG} 'gcin has the following tunable option:' @${ECHO_MSG} ' WITH_BOSHIAMY - enable Boshiamy support' @@ -48,9 +49,10 @@ IGNOREFILES= ${BOSHIAMYFILE} GCINFILE= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} BOSHIAMYFILE= noseeing.tar.gz post-extract: - @cd ${WRKSRC}/data/ \ - && ${TAR} -zxf ${DISTDIR}/${BOSHIAMYFILE} \ - && ${RM} -f noseeing.gtab + @${TAR} -C ${WRKSRC}/data/ -zxf ${DISTDIR}/${BOSHIAMYFILE} \ + noseeing.cin + @${REINPLACE_CMD} -e 's,cj.gtab,cj.gtab noseeing.gtab,' \ + ${WRKSRC}/data/Makefile post-patch: EXTRA_PATCHES+= ${FILESDIR}/extra-patch-data-Makefile PLIST_SUB+= BOSHIAMY="" @@ -58,6 +60,10 @@ PLIST_SUB+= BOSHIAMY="" PLIST_SUB+= BOSHIAMY="@comment " .endif +pre-configure: + @${REINPLACE_CMD} -e 's,gcin.png,${PREFIX}/share/icons/gcin.png,' \ + ${WRKSRC}/menu/gcin-setup.desktop + post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} |