diff options
author | Diane Bruce <db@FreeBSD.org> | 2009-08-15 19:23:49 +0000 |
---|---|---|
committer | Diane Bruce <db@FreeBSD.org> | 2009-08-15 19:23:49 +0000 |
commit | 1c98d40f2a0718482ba2790335aeb2eccaa5ae75 (patch) | |
tree | 62e797b95873420394222856644eb438b7c83505 /science | |
parent | fca267f0d15b0e195f7e120b86ffa4afbcc4a5b4 (diff) | |
download | ports-1c98d40f2a0718482ba2790335aeb2eccaa5ae75.tar.gz ports-1c98d40f2a0718482ba2790335aeb2eccaa5ae75.zip |
Notes
Diffstat (limited to 'science')
-rw-r--r-- | science/gsmc/Makefile | 7 | ||||
-rw-r--r-- | science/gsmc/distinfo | 6 | ||||
-rw-r--r-- | science/gsmc/files/patch-configure.ac | 13 | ||||
-rw-r--r-- | science/gsmc/files/patch-draw.c | 18 |
4 files changed, 21 insertions, 23 deletions
diff --git a/science/gsmc/Makefile b/science/gsmc/Makefile index 7bd150647d65..2357b2400ff4 100644 --- a/science/gsmc/Makefile +++ b/science/gsmc/Makefile @@ -6,8 +6,7 @@ # PORTNAME= gsmc -PORTVERSION= 1.0 -PORTREVISION= 3 +PORTVERSION= 1.1 CATEGORIES= science hamradio MASTER_SITES= http://www.qsl.net/ik5nax/ @@ -16,7 +15,11 @@ COMMENT= Smith chart program for impedance matching USE_GNOME= gtk20 GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" USE_GMAKE= yes +USE_AUTOTOOLS= aclocal:19 automake:19 autoconf:262 +AUTOMAKE_ARGS= -i --add-missing --foreign --copy MAN1= gsmc.1 PLIST_FILES= bin/gsmc diff --git a/science/gsmc/distinfo b/science/gsmc/distinfo index 79f12c040fb7..73bcb82ca63f 100644 --- a/science/gsmc/distinfo +++ b/science/gsmc/distinfo @@ -1,3 +1,3 @@ -MD5 (gsmc-1.0.tar.gz) = 62c8dfef5fda9ecb52ee656ff3559a79 -SHA256 (gsmc-1.0.tar.gz) = 59386860b15d921375f2a254c92f0264dee23642d66fb864fea4940471690c59 -SIZE (gsmc-1.0.tar.gz) = 77095 +MD5 (gsmc-1.1.tar.gz) = 08c17c41706f868501121d92ae8d1e1c +SHA256 (gsmc-1.1.tar.gz) = 3cd7fa7fb8712f878229e085ac8881bd829893da31dce96c3e98118798d63fda +SIZE (gsmc-1.1.tar.gz) = 122726 diff --git a/science/gsmc/files/patch-configure.ac b/science/gsmc/files/patch-configure.ac new file mode 100644 index 000000000000..568ddf480e57 --- /dev/null +++ b/science/gsmc/files/patch-configure.ac @@ -0,0 +1,13 @@ +--- configure.ac.orig 2004-07-28 04:34:01.000000000 -0400 ++++ configure.ac 2009-08-14 20:51:30.000000000 -0400 +@@ -9,7 +9,9 @@ + # Checks for programs. + AC_PROG_CC + pkg_modules="gtk+-2.0" +-PKG_CHECK_MODULES(PACKAGE,[$pkg_modules]) ++PACKAGE_CFLAGS=`pkg-config --cflags ${pkg_modules}` ++PACKAGE_LIBS=`pkg-config --libs ${pkg_modules}` ++#PKG_CHECK_MODULES(PACKAGE,[$pkg_modules]) + AC_SUBST(PACKAGE_CFLAGS) + AC_SUBST(PACKAGE_LIBS) + diff --git a/science/gsmc/files/patch-draw.c b/science/gsmc/files/patch-draw.c deleted file mode 100644 index def213b74fa0..000000000000 --- a/science/gsmc/files/patch-draw.c +++ /dev/null @@ -1,18 +0,0 @@ ---- draw.c.orig Sat Feb 11 12:42:26 2006 -+++ draw.c Sat Feb 11 12:42:59 2006 -@@ -576,6 +576,7 @@ - break; - - default: -+ break; - } - - } -@@ -591,6 +592,7 @@ - case 'o': strcpy(rv, "op"); break; - case 'c': strcpy(rv, "sp"); break; - default: -+ break; - } - - } |