Support staging

This commit is contained in:
Emanuel Haupt 2014-02-26 08:51:59 +00:00
parent 2c843ec91f
commit 14089d0aef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346150
2 changed files with 7 additions and 7 deletions

View File

@ -17,9 +17,7 @@ COMMENT= Allows formatting/partitioning/analysis/repairing of SCSI disks
LIBSCHILY= libschily-2.01.01a07.tar.gz
USE_GMAKE= yes
MAN1= sformat.1
NO_STAGE= yes
.include <bsd.port.pre.mk>
CCOM!= ${BASENAME} ${CC}
@ -47,10 +45,11 @@ post-patch:
.endfor
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/sformat/OBJ/${SFMTTARGET}/sformat \
${PREFIX}/bin
@${MKDIR} ${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/sformat/sformat.dat ${DATADIR}
@${INSTALL_MAN} ${WRKSRC}/sformat/sformat.1 ${PREFIX}/man/man1
${INSTALL_PROGRAM} ${WRKSRC}/sformat/OBJ/${SFMTTARGET}/sformat \
${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/sformat/sformat.dat ${STAGEDIR}${DATADIR}
${INSTALL_MAN} ${WRKSRC}/sformat/sformat.1 \
${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.post.mk>

View File

@ -1,3 +1,4 @@
bin/sformat
man/man1/sformat.1.gz
%%DATADIR%%/sformat.dat
@dirrm %%DATADIR%%