ports/188869: [PATCH] sysutils/lxsplit: Use PLIST_FILES instead of pkg-plist, remove man
Horia Racoviceanu
horia at racoviceanu.com
Mon Apr 21 21:30:00 UTC 2014
>Number: 188869
>Category: ports
>Synopsis: [PATCH] sysutils/lxsplit: Use PLIST_FILES instead of pkg-plist, remove man
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 21 21:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Horia Racoviceanu
>Release: 10.0-RELEASE
>Organization:
>Environment:
FreeBSD heta 10.0-RELEASE-p1 FreeBSD 10.0-RELEASE-p1 #0: Tue Apr 8 06:45:06 UTC 2014 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
>How-To-Repeat:
>Fix:
- Bump PORTREVISION for MAINTAINER change
- Pass maintainership to submitter
- Change DOCS
- Change pkg-descr, add merging details
- Use PLIST_FILES instead of pkg-plist
- Change install, cosmetic changes
and remove non existing MAN
Build log:
https://redports.org/buildarchive/20140421212014-07704/
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 351704)
+++ Makefile (working copy)
@@ -3,24 +3,24 @@
PORTNAME= lxsplit
PORTVERSION= 0.2.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= SF
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= horia at racoviceanu.com
COMMENT= Simple program to split or join files
LICENSE= GPLv2
-DOCS= ChangeLog README
+PLIST_FILES= bin/${PORTNAME}
+PORTDOCS= ChangeLog README
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/lxsplit ${STAGEDIR}${PREFIX}/bin/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_MAN} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
Index: pkg-descr
===================================================================
--- pkg-descr (revision 351704)
+++ pkg-descr (working copy)
@@ -1,6 +1,6 @@
This utility is used to split up huge files into smaller pieces without
-compression. It is fully compatible with HJSplit. HJSplit is a program
-written by Freebyte!. See http://www.freebyte.com for more information
-about HJSplit.
+compression, and to merge (join) the splitted files. It is fully compatible
+with HJSplit. HJSplit is a program written by Freebyte!.
+See http://www.freebyte.com/ for more information about HJSplit.
WWW: http://lxsplit.sourceforge.net/
Index: pkg-plist
===================================================================
--- pkg-plist (revision 351704)
+++ pkg-plist (working copy)
@@ -1,4 +0,0 @@
-bin/lxsplit
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list