Skip to content
Permalink
Browse files

smcgoverns gnugetopt port

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@1896 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Michael Maibaum
Michael Maibaum committed Jan 27, 2003
1 parent 98c1785 commit d4fe7503db9434eb524de299f2459891ae597e9f
Showing with 56 additions and 0 deletions.
  1. +28 −0 devel/gnugetopt/Portfile
  2. +9 −0 devel/gnugetopt/files/patch-Makefile.am
  3. +19 −0 devel/gnugetopt/files/patch-configure.ac
@@ -0,0 +1,28 @@
PortSystem 1.0
name libgnugetopt
version 1.2
categories devel
maintainers sean@sfarc.net
description GNU getopt library
platforms darwin
master_sites ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/lioux/ \
ftp://ftp.se.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/lioux/ \
ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/lioux/ \
ftp://ftp.ru.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/lioux/ \
ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/lioux/ \
ftp://ftp.tw.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/lioux/
checksums md5 356d12620d006a71a307f339803a86a2
use_bzip2 yes
patchfiles patch-Makefile.am patch-configure.ac
post-patch {
set path "${worksrcpath}"
system "aclocal -I .; glibtoolize --automake"
}
use_automake yes
automake.args --add-missing
use_autoconf yes
configure.args --disable-static


long_description GNU getopt library similar but more powerful than the \
standard getopt(3). It includes the GNU-style getopt_long() function.
@@ -0,0 +1,9 @@
--- libgnugetopt-1.2/Makefile.am Wed Dec 31 19:00:00 1969
+++ Makefile.am Mon Jan 20 07:41:08 2003
@@ -0,0 +1,6 @@
+lib_LTLIBRARIES = libgnugetopt.la
+include_HEADERS = getopt.h
+
+libgnugetopt_la_SOURCES = getopt.c getopt1.c
+
+libgnugetopt_la_LDFLAGS = -version-info 0:2:0 -release 1.2
@@ -0,0 +1,19 @@
--- libgnugetopt-1.2/configure.ac Wed Dec 31 19:00:00 1969
+++ configure.ac Mon Jan 20 07:41:13 2003
@@ -0,0 +1,16 @@
+AC_INIT
+AM_INIT_AUTOMAKE(libgnugetopt,1.0)
+
+AC_PROG_CC
+AC_PROG_LIBTOOL
+AC_SUBST(LIBTOOL_DEPS)
+
+AC_PROG_CXX
+AC_PROG_CPP
+AC_PROG_INSTALL
+AC_PROG_LN_S
+AC_PROG_MAKE_SET
+AC_PROG_RANLIB
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT

0 comments on commit d4fe750

Please sign in to comment.
You can’t perform that action at this time.