diff options
author | miwi <miwi@FreeBSD.org> | 2009-02-06 04:33:53 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-02-06 04:33:53 +0800 |
commit | bf8f765899f964343312d677e8ce4adaa77d2918 (patch) | |
tree | ad3241a1a647579b08d6c0af897b25d948076106 /sysutils | |
parent | 22ed01ebfbbd5d7b25260b886575b4bbb09db5a6 (diff) | |
download | freebsd-ports-gnome-bf8f765899f964343312d677e8ce4adaa77d2918.tar.gz freebsd-ports-gnome-bf8f765899f964343312d677e8ce4adaa77d2918.tar.zst freebsd-ports-gnome-bf8f765899f964343312d677e8ce4adaa77d2918.zip |
- Restore to 1.15 to fix the index
Pointy hat to: pgollucci
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/pwgen/Makefile | 10 | ||||
-rw-r--r-- | sysutils/pwgen/distinfo | 6 | ||||
-rw-r--r-- | sysutils/pwgen/files/patch-aa | 39 |
3 files changed, 49 insertions, 6 deletions
diff --git a/sysutils/pwgen/Makefile b/sysutils/pwgen/Makefile index 0d48ecde0b5b..e6279bbd0a62 100644 --- a/sysutils/pwgen/Makefile +++ b/sysutils/pwgen/Makefile @@ -6,14 +6,18 @@ # PORTNAME= pwgen -PORTVERSION= 2.06 +PORTVERSION= 1.15 +PORTREVISION= 1 +PORTEPOCH= 1 CATEGORIES= sysutils -MASTER_SITES= SF +MASTER_SITES= http://www.tricknology.org/ports/ MAINTAINER= oddbjorn@tricknology.org COMMENT= A simple password generator -GNU_CONFIGURE= yes +WRKSRC= ${WRKDIR}/${PORTNAME}-1 +MAKE_ENV= CPPFLAGS="${CPPFLAGS}" \ + LDFLAGS="${LDFLAGS}" MAN1= pwgen.1 PLIST_FILES= bin/pwgen diff --git a/sysutils/pwgen/distinfo b/sysutils/pwgen/distinfo index fc5afe322ccb..99d6c87adb1c 100644 --- a/sysutils/pwgen/distinfo +++ b/sysutils/pwgen/distinfo @@ -1,3 +1,3 @@ -MD5 (pwgen-2.06.tar.gz) = 935aebcbe610fbc9de8125e7b7d71297 -SHA256 (pwgen-2.06.tar.gz) = 61598c9e3a0f7eb2e7367d4ecc71522c4f16a7d41ed31db29e3afee8d9843454 -SIZE (pwgen-2.06.tar.gz) = 30952 +MD5 (pwgen-1.15.tar.gz) = 311724e3ce09155694191563be5543e9 +SHA256 (pwgen-1.15.tar.gz) = fb50a42bf3bf9608f5d3e5b72a414e05df13ff1f03945549cb44fe454c81dbd4 +SIZE (pwgen-1.15.tar.gz) = 14839 diff --git a/sysutils/pwgen/files/patch-aa b/sysutils/pwgen/files/patch-aa new file mode 100644 index 000000000000..25108e8189e2 --- /dev/null +++ b/sysutils/pwgen/files/patch-aa @@ -0,0 +1,39 @@ +--- Makefile.orig Tue Jan 4 22:54:58 2000 ++++ Makefile Sun Jul 6 20:15:32 2003 +@@ -6,17 +6,17 @@ + OPTS = -DALLBYOPTS -DRAND48 -DDEBIAN + + # Standard items +-CC = gcc +-CFLAGS = -O3 +-LD = cc +-#LDFLAGS = -g ++CC ?= gcc ++CFLAGS += ${CPPFLAGS} ++LD = ${CC} + LIBS = -lm + INSTALL = install -s + INFLAGS = + + # Where to install +-DESTDIR = /usr/local/bin +-MANDIR = /usr/local/man/man1 ++PREFIX ?= /usr/local ++DESTDIR = ${PREFIX}/bin ++MANDIR = ${PREFIX}/man/man1 + + # End configuration section + +@@ -27,10 +27,8 @@ + ./pwgen 8 20 + + install: all +- $(INSTALL) pwgen $(DESTDIR) +- install pwgen.1 $(MANDIR) +- chmod 555 $(DESTDIR)/pwgen +- chmod 444 $(MANDIR)/pwgen.1 ++ ${BSD_INSTALL_PROGRAM} pwgen $(DESTDIR) ++ ${BSD_INSTALL_MAN} pwgen.1 $(MANDIR) + + spwgen: spwgen.o + $(LD) $(LDFLAGS) -o spwgen spwgen.o $(LIBS) |