summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-07-09 17:12:38 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-07-09 17:12:38 +0000
commitf7e59f59a7d3d34285809fe0a5c7eb249979665a (patch)
treea0aaf4e87a286bf489aeafce06ed6655858730bb /archivers
parentRemove editors/moleskine (diff)
- Use MASTER_SITE_SUNSITE to MASTER_SITES
- Strip binary - Utilize PLIST_FILES PR: ports/68857 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=113290
Diffstat (limited to 'archivers')
-rw-r--r--archivers/lbrate/Makefile22
-rw-r--r--archivers/lbrate/pkg-plist6
2 files changed, 14 insertions, 14 deletions
diff --git a/archivers/lbrate/Makefile b/archivers/lbrate/Makefile
index 7830ca82090b..1611040f1b55 100644
--- a/archivers/lbrate/Makefile
+++ b/archivers/lbrate/Makefile
@@ -7,24 +7,30 @@
PORTNAME= lbrate
PORTVERSION= 1.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= archivers
-MASTER_SITES= ftp://ftp.ibiblio.org/pub/Linux/utils/compress/
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= utils/compress
MAINTAINER= ports@FreeBSD.org
COMMENT= Extract/decompress CP/M LBR archives
-USE_GETOPT_LONG=yes
-MAKE_ENV= CPPFLAGS="${CPPFLAGS}" \
- LDFLAGS="${LDFLAGS}"
+USE_GETOPT_LONG= yes
+MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= lbrate.1
+PORTDOCS= ${DOC_FILES}
+PLIST_FILES= bin/lbrate
-post-install:
+DOC_FILES= ChangeLog README TODO
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/lbrate ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/lbrate.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for FILE in COPYING ChangeLog README TODO
- @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+.for FILE in ${DOC_FILES}
+ ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif
diff --git a/archivers/lbrate/pkg-plist b/archivers/lbrate/pkg-plist
deleted file mode 100644
index 3f053968b5fd..000000000000
--- a/archivers/lbrate/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-bin/lbrate
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTDOCS%%@dirrm %%DOCSDIR%%