This commit is contained in:
Juergen Lock 2014-01-26 15:51:20 +00:00
parent 5e4c2adde5
commit 0f75a8ca3d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341231
2 changed files with 12 additions and 16 deletions

View file

@ -28,8 +28,6 @@ CONFLICTS= kqemu-kmod-[0-9]*
USE_RC_SUBR= kqemu USE_RC_SUBR= kqemu
NO_STAGE= yes
USES= kmod USES= kmod
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
@ -39,7 +37,7 @@ PLIST_FILES= "include/kqemu/kqemu.h"
PLIST_FILES+= "@dirrm include/kqemu" PLIST_FILES+= "@dirrm include/kqemu"
PLIST_FILES+= "@cwd /" PLIST_FILES+= "@cwd /"
PLIST_FILES+= ${KMODDIR:C,^/,,}/kqemu.ko PLIST_FILES+= ${KMODDIR:C,^/,,}/kqemu.ko
PLIST_FILES+= "@cwd" PLIST_FILES+= "@cwd ${PREFIX}"
MAKEFILE= Makefile.freebsd MAKEFILE= Makefile.freebsd
@ -74,13 +72,13 @@ do-build:
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
do-install: do-install:
@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET}) @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} DESTDIR=${STAGEDIR} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
${MKDIR} ${PREFIX}/include/kqemu ${MKDIR} ${STAGEDIR}${PREFIX}/include/kqemu
${INSTALL_DATA} ${WRKSRC}/kqemu.h ${PREFIX}/include/kqemu ${INSTALL_DATA} ${WRKSRC}/kqemu.h ${STAGEDIR}${PREFIX}/include/kqemu
.if ${PORT_OPTIONS:MDOCS} .if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/kqemu-doc.html ${WRKSRC}/kqemu-tech.html \ ${INSTALL_DATA} ${WRKSRC}/kqemu-doc.html ${WRKSRC}/kqemu-tech.html \
${DOCSDIR} ${STAGEDIR}${DOCSDIR}
.endif .endif
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -28,8 +28,6 @@ CONFLICTS= kqemu-kmod-devel-[0-9]*
USE_RC_SUBR= kqemu USE_RC_SUBR= kqemu
NO_STAGE= yes
USES= kmod USES= kmod
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
@ -39,7 +37,7 @@ PLIST_FILES= "include/kqemu/kqemu.h"
PLIST_FILES+= "@dirrm include/kqemu" PLIST_FILES+= "@dirrm include/kqemu"
PLIST_FILES+= "@cwd /" PLIST_FILES+= "@cwd /"
PLIST_FILES+= ${KMODDIR:C,^/,,}/kqemu.ko PLIST_FILES+= ${KMODDIR:C,^/,,}/kqemu.ko
PLIST_FILES+= "@cwd" PLIST_FILES+= "@cwd ${PREFIX}"
MAKEFILE= Makefile.freebsd MAKEFILE= Makefile.freebsd
@ -65,13 +63,13 @@ do-build:
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
do-install: do-install:
@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET}) @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} DESTDIR=${STAGEDIR} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
${MKDIR} ${PREFIX}/include/kqemu ${MKDIR} ${STAGEDIR}${PREFIX}/include/kqemu
${INSTALL_DATA} ${WRKSRC}/kqemu.h ${PREFIX}/include/kqemu ${INSTALL_DATA} ${WRKSRC}/kqemu.h ${STAGEDIR}${PREFIX}/include/kqemu
.if ${PORT_OPTIONS:MDOCS} .if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/kqemu-doc.html ${WRKSRC}/kqemu-tech.html \ ${INSTALL_DATA} ${WRKSRC}/kqemu-doc.html ${WRKSRC}/kqemu-tech.html \
${DOCSDIR} ${STAGEDIR}${DOCSDIR}
.endif .endif
.include <bsd.port.post.mk> .include <bsd.port.post.mk>