diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-06-10 21:07:59 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-06-10 21:07:59 +0000 |
commit | 6ee558bca5771659735015deeca12e23f1f703bd (patch) | |
tree | 5ff1df7298e77facfafcfab6485e3a052100cedb /net-p2p/edonkey-gui-gtk/Makefile | |
parent | 921785e24d00e7079f56afa60ade643ee4efeb4b (diff) | |
download | ports-6ee558bca5771659735015deeca12e23f1f703bd.tar.gz ports-6ee558bca5771659735015deeca12e23f1f703bd.zip |
- Update to 0.6.4
PR: ports/82078
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes:
svn path=/head/; revision=137226
Diffstat (limited to 'net-p2p/edonkey-gui-gtk/Makefile')
-rw-r--r-- | net-p2p/edonkey-gui-gtk/Makefile | 47 |
1 files changed, 29 insertions, 18 deletions
diff --git a/net-p2p/edonkey-gui-gtk/Makefile b/net-p2p/edonkey-gui-gtk/Makefile index 4d589bf618b5..2fce81142316 100644 --- a/net-p2p/edonkey-gui-gtk/Makefile +++ b/net-p2p/edonkey-gui-gtk/Makefile @@ -6,8 +6,7 @@ # PORTNAME= edonkey -PORTVERSION= 0.6.2 -PORTREVISION= 2 +PORTVERSION= 0.6.4 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ed2k-gtk-gui @@ -20,30 +19,42 @@ COMMENT= GTK GUI to eDonkey2000 'core' command line client LIB_DEPENDS= gnet-2.0:${PORTSDIR}/net/gnet2 RUN_DEPENDS= donkey:${PORTSDIR}/net/linux-edonkey-core -USE_GNOME= gtk20 -USE_GETTEXT= yes -USE_ICONV= yes +USE_BZIP2= yes USE_X_PREFIX= yes +USE_GNOME= gnomehier gnometarget gtk20 USE_REINPLACE= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \ - --with-libintl-prefix=${LOCALBASE} +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" -DOCSDIR= ${PREFIX}/share/doc/ed2k_gui -.ifndef(NOPORTDOCS) MAN1= ed2k-gtk-gui.1 ed2k_gui.1 -.endif + +DOCSDIR= ${PREFIX}/share/doc/ed2k_gui +DATADIR= ${PREFIX}/share/ed2k_gui + +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib post-patch: -.ifdef(NOPORTDOCS) - @${REINPLACE_CMD} -E -e 's|^(SUBDIRS.*)docs|\1|' \ - ${WRKSRC}/Makefile.in -.endif -# fix build with GTK 2.4 - @${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \ - ${WRKSRC}/ed2k_gui/Makefile.in + @${REINPLACE_CMD} -e 's|$$(datadir)/app|$$(prefix)/share/gnome/app|g' \ + ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|^SUBDIRS =.*$$|SUBDIRS =|g' \ + ${WRKSRC}/docs/Makefile.in + @${REINPLACE_CMD} -e 's|-Wall -g||g ; \ + s| == "xyes| = "xyes|g' ${WRKSRC}/configure post-install: - @${LN} -s ed2k_gui ${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} + @${LN} -sf ed2k_gui ${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/en/index* ${DOCSDIR} + @${MKDIR} ${DOCSDIR}/deutsch + ${INSTALL_DATA} ${WRKSRC}/docs/de/index* ${DOCSDIR}/deutsch + @${MKDIR} ${DOCSDIR}/espanol + ${INSTALL_DATA} ${WRKSRC}/docs/es/index* ${DOCSDIR}/espanol + @${MKDIR} ${DOCSDIR}/francais + ${INSTALL_DATA} ${WRKSRC}/docs/fr/index* ${DOCSDIR}/francais + @${MKDIR} ${DOCSDIR}/pl + ${INSTALL_DATA} ${WRKSRC}/docs/pl/index* ${DOCSDIR}/pl +.endif .include <bsd.port.mk> |