summaryrefslogtreecommitdiff
path: root/net/spegla
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-12-18 15:21:54 +0000
committerjoerg <joerg@pkgsrc.org>2008-12-18 15:21:54 +0000
commitc1cc953ab439a36fa89d3adf472a8d8761e937ff (patch)
treef92bdb463578681160b0ee87c4a14dec10fc69d5 /net/spegla
parentb89891d4567ba9bda5a5c25a77f0b7e38767b968 (diff)
downloadpkgsrc-c1cc953ab439a36fa89d3adf472a8d8761e937ff.tar.gz
DESTDIR support. Fix PLIST. Bump revision.
Diffstat (limited to 'net/spegla')
-rw-r--r--net/spegla/Makefile21
-rw-r--r--net/spegla/PLIST6
-rw-r--r--net/spegla/distinfo3
-rw-r--r--net/spegla/patches/patch-ac16
4 files changed, 29 insertions, 17 deletions
diff --git a/net/spegla/Makefile b/net/spegla/Makefile
index c3221430b19..15eac3be0e6 100644
--- a/net/spegla/Makefile
+++ b/net/spegla/Makefile
@@ -1,27 +1,20 @@
-# $NetBSD: Makefile,v 1.7 2005/04/11 21:47:00 tv Exp $
+# $NetBSD: Makefile,v 1.8 2008/12/18 15:21:54 joerg Exp $
DISTNAME= spegla-1.1p4
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://subzero.campus.luth.se/pub/spegla/
MAINTAINER= jnilsson@ludd.luth.se
COMMENT= Mirror program for FTP sites (written in C)
-MANCOMPRESSED_IF_MANZ= yes
-PLIST_SRC= ${WRKDIR}/PLIST
-BUILDLINK_TRANSFORM+= rm:-Werror
+PKG_DESTDIR_SUPPORT= user-destdir
-.include "../../mk/bsd.prefs.mk"
+BUILDLINK_TRANSFORM+= rm:-Werror
-BUILD_DEFS+= MANINSTALL
+USE_BSD_MAKEFILE= yes
-post-install:
- @${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
- @for OPT in ${MANINSTALL} x; do \
- case $$OPT in \
- catinstall) ${ECHO} man/cat1/spegla.0 >>${PLIST_SRC};; \
- maninstall) ${ECHO} man/man1/spegla.1 >>${PLIST_SRC};; \
- esac; \
- done
+INSTALLATION_DIRS= bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1 \
+ share/examples/spegla
.include "../../mk/bsd.pkg.mk"
diff --git a/net/spegla/PLIST b/net/spegla/PLIST
index 4fc67f59193..2388cefd8de 100644
--- a/net/spegla/PLIST
+++ b/net/spegla/PLIST
@@ -1,5 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:59:09 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2008/12/18 15:21:54 joerg Exp $
bin/spegla
-share/examples/spegla/spegla.sh
+man/cat1/spegla.0
+man/man1/spegla.1
share/examples/spegla/spegla.conf
+share/examples/spegla/spegla.sh
@dirrm share/examples/spegla
diff --git a/net/spegla/distinfo b/net/spegla/distinfo
index 81baf480c7b..ded8220e930 100644
--- a/net/spegla/distinfo
+++ b/net/spegla/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.6 2005/09/06 08:10:59 abs Exp $
+$NetBSD: distinfo,v 1.7 2008/12/18 15:21:54 joerg Exp $
SHA1 (spegla-1.1p4.tar.gz) = c85036d0ed4e198c517198628fbc9a842f0d3e85
RMD160 (spegla-1.1p4.tar.gz) = 1e07b1a667a69d25df3b91bf2cb0a8b4bda8b839
Size (spegla-1.1p4.tar.gz) = 101515 bytes
SHA1 (patch-aa) = c52aa11ed64f7ed3575aa868a1688c9777363d91
SHA1 (patch-ab) = b237f8bf7f6db1fce07d88ff42ea50b871449563
+SHA1 (patch-ac) = e7169639227051c115362a290f5690670ab06819
diff --git a/net/spegla/patches/patch-ac b/net/spegla/patches/patch-ac
new file mode 100644
index 00000000000..9acabf1b36c
--- /dev/null
+++ b/net/spegla/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.3 2008/12/18 15:21:54 joerg Exp $
+
+--- Makefile.orig 2008-12-18 16:18:13.000000000 +0100
++++ Makefile
+@@ -19,11 +19,6 @@ MAN = spegla.1
+ FILES = spegla.sh spegla.conf
+ FILESDIR = ${PREFIX}/share/examples/spegla
+
+-filesinstall:: ${PREFIX}/share/examples/spegla
+-
+-${PREFIX}/share/examples/spegla:
+- mkdir -p ${PREFIX}/share/examples/spegla
+-
+ #WARNS = 2
+ CFLAGS += -Wall
+ LDADD += -lcompat