1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

Update to 4.1.9.

This commit is contained in:
Joe Marcus Clarke 2002-08-30 02:37:47 +00:00
parent 3604cc1bcf
commit a6b4b87dab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65262
3 changed files with 10 additions and 21 deletions

View File

@ -6,10 +6,10 @@
#
PORTNAME= gcalctool
PORTVERSION= 4.1.0
PORTVERSION= 4.1.9
CATEGORIES= math gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= pre-gnome2/sources/gcalctool
MASTER_SITE_SUBDIR= 2.0.1/sources/${PORTNAME}
DIST_SUBDIR= gnome2
MAINTAINER= marcus@FreeBSD.org
@ -20,19 +20,19 @@ USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
USE_REINPLACE= yes
USE_GNOMENG= yes
USE_GNOME= gnomehack
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MAN1= calctool.1
MAN1= gcalctool.1
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
@find ${WRKSRC} -name "*.[ch]" | xargs ${PERL} -pi -e \
@${FIND} ${WRKSRC} -name "*.[ch]" | xargs ${REINPLACE_CMD} -e \
's|malloc\.h|stdlib.h|g'
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (gnome2/gcalctool-4.1.0.tar.bz2) = 8ea71ea69c35e6fe84425ee47846f068
MD5 (gnome2/gcalctool-4.1.9.tar.bz2) = e13948f80fd67e8e26fbddbdd8739526

View File

@ -1,11 +0,0 @@
--- gcalctool/Makefile.in.orig Wed Jun 12 02:34:38 2002
+++ gcalctool/Makefile.in Wed Jun 12 02:34:53 2002
@@ -114,7 +114,7 @@
extern.h
-gcalctool_LDADD = @PACKAGE_LIBS@ -lX11 -lsocket -lnsl
+gcalctool_LDADD = @PACKAGE_LIBS@ -lX11
pkgdata_DATA = calctool.gif