summaryrefslogtreecommitdiff
path: root/net/spegla/Makefile
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/Makefile
parentb89891d4567ba9bda5a5c25a77f0b7e38767b968 (diff)
downloadpkgsrc-c1cc953ab439a36fa89d3adf472a8d8761e937ff.tar.gz
DESTDIR support. Fix PLIST. Bump revision.
Diffstat (limited to 'net/spegla/Makefile')
-rw-r--r--net/spegla/Makefile21
1 files changed, 7 insertions, 14 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"