Changeset View
Standalone View
sysutils/linux-c7-dosfstools/Makefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# $FreeBSD$ | |||||
PORTNAME= dosfstools | |||||
PORTVERSION= 3.0.20 | |||||
DISTVERSIONSUFFIX= -10.el7 | |||||
CATEGORIES= sysutils linux | |||||
MAINTAINER= emulation@FreeBSD.org | |||||
COMMENT= Utilities for MS-DOS FAT filesystems (CentOS ${LINUX_DIST_VER}) | |||||
USES= linux:c7 | |||||
USE_LINUX_RPM= nolib | |||||
tijl: It's just a style thing and I don't care so much about this, but I suspect portlint will tell… | |||||
OPTIONS_DEFINE= DOCS | |||||
Not Done Inline ActionsBecause this port doesn't install any libraries you can set USE_LINUX_RPM=nolib. Then you also get only one pkg-plist file. tijl: Because this port doesn't install any libraries you can set USE_LINUX_RPM=nolib. Then you also… | |||||
Not Done Inline ActionsHm, this doesn't seem to work - it results in empty plist and no files being installed. I wonder if this, in ports/Uses/linux.mk:234 should be changed to include usr/bin and usr/sbin, since that's where the ports' files are supposed to go: .for d in bin lib lib64 sbin [ ! -e ${STAGEDIR}${PREFIX}/${d} -o -L ${STAGEDIR}${PREFIX}/${d} ] || \ (cd ${STAGEDIR}${PREFIX} && \ ${FIND} ${d} | ${CPIO} -dumpl --quiet usr && ${RM} -r ${d}) .endfor trasz: Hm, this doesn't seem to work - it results in empty plist and no files being installed. I… | |||||
Not Done Inline Actions(Although adding those two doesn't seem to fix the problem.) trasz: (Although adding those two doesn't seem to fix the problem.) | |||||
Not Done Inline ActionsSeems to work here. I was wrong about there being only one pkg-plist. That's only the case for USE_LINUX_RPM=noarch. You should regenerate pkg-plist with make makeplist though, because it's missing these files: %%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/ChangeLog.dosfstools-2.x %%PORTDOCS%%%%DOCSDIR%%/README.dosfstools-2.x %%PORTDOCS%%%%DOCSDIR%%/TODO.dosfstools-2.x Then you should also add OPTIONS_DEFINE=DOCS to the Makefile here. You could have only one pkg-plist if you add PLIST=${PKGDIR}/pkg-plist to the Makefile. tijl: Seems to work here. I was wrong about there being only one pkg-plist. That's only the case… | |||||
PLIST= ${PKGDIR}/pkg-plist | |||||
Done Inline ActionsBecause PKGNAMESUFFIX is empty in this port, this corresponds to the default value for LIB_DISTNAMES so this line can be removed. tijl: Because PKGNAMESUFFIX is empty in this port, this corresponds to the default value for… | |||||
.include <bsd.port.mk> |
It's just a style thing and I don't care so much about this, but I suspect portlint will tell you to add an empty line here (USES/USE_* needs to be a separate block or something).