aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/lbrate/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-07-10 01:12:38 +0800
committerkrion <krion@FreeBSD.org>2004-07-10 01:12:38 +0800
commit5f976379ae9e5b4454ce9a95e64f5d5d554d7cb0 (patch)
tree8a39e1c4b06f4e3dd24772914c0dc7094ce036ba /archivers/lbrate/Makefile
parentf978c7b0f2e27bf864c98a5aa0129cb697fa8bad (diff)
downloadfreebsd-ports-gnome-5f976379ae9e5b4454ce9a95e64f5d5d554d7cb0.tar.gz
freebsd-ports-gnome-5f976379ae9e5b4454ce9a95e64f5d5d554d7cb0.tar.zst
freebsd-ports-gnome-5f976379ae9e5b4454ce9a95e64f5d5d554d7cb0.zip
- Use MASTER_SITE_SUNSITE to MASTER_SITES
- Strip binary - Utilize PLIST_FILES PR: ports/68857 Submitted by: Ports Fury
Diffstat (limited to 'archivers/lbrate/Makefile')
-rw-r--r--archivers/lbrate/Makefile22
1 files changed, 14 insertions, 8 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