Enable staging install.

This commit is contained in:
Matthias Andree 2013-10-29 22:18:48 +00:00
parent f3baf454e2
commit 00e4f15bc5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332018
2 changed files with 32 additions and 14 deletions

View file

@ -28,16 +28,8 @@ OPTIONS_DEFINE= DOCS NLS
OPTIONS_DEFAULT= NLS
OPTIONS_EXCLUDE+= EXAMPLES
MAN1= chattr.1 lsattr.1
MAN5= e2fsck.conf.5 mke2fs.conf.5
MAN8= badblocks.8 debugfs.8 dumpe2fs.8 e2fsck.8 e2image.8 e2label.8 \
e2undo.8 mke2fs.8 mklost+found.8 resize2fs.8 tune2fs.8 \
fsck.ext2.8 fsck.ext3.8 fsck.ext4.8 fsck.ext4dev.8 \
mkfs.ext2.8 mkfs.ext3.8 mkfs.ext4.8 mkfs.ext4dev.8 \
findfs.8 blkid.8 logsave.8 fsck_ext2fs.8 e2freefrag.8
PORTDOCS= COPYING RELEASE-NOTES
NO_STAGE= yes
post-extract:
@${CHMOD} u+w ${WRKSRC}/po/*.po ${WRKSRC}/po/*.pot \
${WRKSRC}/${CONFIGURE_SCRIPT}
@ -128,16 +120,14 @@ post-build:
|| { head -n30000 ${WRKSRC}/tests/*.failed 2>/dev/null ; exit 1 ; }
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/fsck_ext2fs ${PREFIX}/sbin/
${INSTALL_MAN} ${FILESDIR}/fsck_ext2fs.8 ${PREFIX}/man/man8/
${INSTALL_PROGRAM} ${WRKSRC}/fsck_ext2fs ${STAGEDIR}${PREFIX}/sbin/
${INSTALL_MAN} ${FILESDIR}/fsck_ext2fs.8 ${STAGEDIR}${PREFIX}/man/man8/
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${ECHO_MSG} ; ${CAT} ${PKGMESSAGE} ; ${ECHO_MSG}
# the next line closes .if ${MASTERDIR} == ${.CURDIR}
.endif

View file

@ -1,6 +1,34 @@
bin/chattr
bin/lsattr
etc/mke2fs.conf.dist
man/man1/chattr.1.gz
man/man1/lsattr.1.gz
man/man5/e2fsck.conf.5.gz
man/man5/mke2fs.conf.5.gz
man/man8/badblocks.8.gz
man/man8/debugfs.8.gz
man/man8/dumpe2fs.8.gz
man/man8/e2fsck.8.gz
man/man8/e2image.8.gz
man/man8/e2label.8.gz
man/man8/e2undo.8.gz
man/man8/mke2fs.8.gz
man/man8/mklost+found.8.gz
man/man8/resize2fs.8.gz
man/man8/tune2fs.8.gz
man/man8/fsck.ext2.8.gz
man/man8/fsck.ext3.8.gz
man/man8/fsck.ext4.8.gz
man/man8/fsck.ext4dev.8.gz
man/man8/mkfs.ext2.8.gz
man/man8/mkfs.ext3.8.gz
man/man8/mkfs.ext4.8.gz
man/man8/mkfs.ext4dev.8.gz
man/man8/findfs.8.gz
man/man8/blkid.8.gz
man/man8/logsave.8.gz
man/man8/fsck_ext2fs.8.gz
man/man8/e2freefrag.8.gz
sbin/badblocks
sbin/blkid
sbin/debugfs