1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Use MASTER_SITE_SUNSITE to MASTER_SITES

- Strip binary
- Utilize PLIST_FILES

PR:		ports/68857
Submitted by:	Ports Fury
This commit is contained in:
Kirill Ponomarev 2004-07-09 17:12:38 +00:00
parent 555df18ed5
commit f7e59f59a7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=113290
2 changed files with 14 additions and 14 deletions

View File

@ -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

View File

@ -1,6 +0,0 @@
bin/lbrate
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%@dirrm %%DOCSDIR%%