Lines 33-39
Link Here
|
33 |
OPTIONS_DEFINE= NVIDIA_GL |
33 |
OPTIONS_DEFINE= NVIDIA_GL |
34 |
NVIDIA_GL_DESC= Support for nvidia |
34 |
NVIDIA_GL_DESC= Support for nvidia |
35 |
|
35 |
|
36 |
NO_STAGE= yes |
|
|
37 |
.include <bsd.port.options.mk> |
36 |
.include <bsd.port.options.mk> |
38 |
.include <bsd.port.pre.mk> |
37 |
.include <bsd.port.pre.mk> |
39 |
|
38 |
|
Lines 52-85
Link Here
|
52 |
${TAR} xfz ${_DISTDIR}/${DISTFILES} --directory ${WRKSRC} |
51 |
${TAR} xfz ${_DISTDIR}/${DISTFILES} --directory ${WRKSRC} |
53 |
|
52 |
|
54 |
do-install: |
53 |
do-install: |
55 |
@${MKDIR} ${PREFIX}/${SAVAGEDIR} |
54 |
@${MKDIR} ${STAGEDIR}${PREFIX}/${SAVAGEDIR} |
56 |
.for DIRE in graveyard game |
55 |
.for DIRE in graveyard game |
57 |
@${MKDIR} ${PREFIX}/${SAVAGEDIR}/${DIRE} |
56 |
@${MKDIR} ${STAGEDIR}${STAGEDIR}${PREFIX}/${SAVAGEDIR}/${DIRE} |
58 |
@cd ${WRKSRC}/${DIRE} && \ |
57 |
@cd ${WRKSRC}/${DIRE} && \ |
59 |
${FIND} * -type d -exec ${MKDIR} "${PREFIX}/${SAVAGEDIR}/${DIRE}/{}" \; && \ |
58 |
${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${PREFIX}/${SAVAGEDIR}/${DIRE}/{}" \; && \ |
60 |
${FIND} * -type f -name "*.so" -exec ${INSTALL_PROGRAM} "{}" \ |
59 |
${FIND} * -type f -name "*.so" -exec ${INSTALL_PROGRAM} "{}" \ |
61 |
"${PREFIX}/${SAVAGEDIR}/${DIRE}/{}" \; && \ |
60 |
"${STAGEDIR}${PREFIX}/${SAVAGEDIR}/${DIRE}/{}" \; && \ |
62 |
${FIND} -E * -type f -iregex ".*\.(cfg|dat|db|dll|jpg|mcfg|objgroup|ogg|tga|txt|ttf|s2g|s2z)" \ |
61 |
${FIND} -E * -type f -iregex ".*\.(cfg|dat|db|dll|jpg|mcfg|objgroup|ogg|tga|txt|ttf|s2g|s2z)" \ |
63 |
-exec ${INSTALL_DATA} "{}" "${PREFIX}/${SAVAGEDIR}/${DIRE}/{}" \; |
62 |
-exec ${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/${SAVAGEDIR}/${DIRE}/{}" \; |
64 |
.endfor |
63 |
.endfor |
65 |
@${MKDIR} ${PREFIX}/${SAVAGEDIR}/libs |
64 |
@${MKDIR} ${STAGEDIR}${PREFIX}/${SAVAGEDIR}/libs |
66 |
@cd ${WRKSRC}/libs && \ |
65 |
@cd ${WRKSRC}/libs && \ |
67 |
${FIND} * -type f -exec ${INSTALL_PROGRAM} "{}" "${PREFIX}/${SAVAGEDIR}/libs/{}" \; |
66 |
${FIND} * -type f -exec ${INSTALL_PROGRAM} "{}" "${STAGEDIR}${PREFIX}/${SAVAGEDIR}/libs/{}" \; |
68 |
|
67 |
|
69 |
${INSTALL_PROGRAM} ${WRKSRC}/silverback.bin ${PREFIX}/${SAVAGEDIR} |
68 |
${INSTALL_PROGRAM} ${WRKSRC}/silverback.bin ${STAGEDIR}${PREFIX}/${SAVAGEDIR} |
70 |
|
69 |
|
71 |
.for FILE in savage savage_editor |
70 |
.for FILE in savage savage_editor |
72 |
${INSTALL_SCRIPT} ${WRKDIR}/${FILE} ${PREFIX}/bin/${PKGNAMEPREFIX}${FILE} |
71 |
${INSTALL_SCRIPT} ${WRKDIR}/${FILE} ${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}${FILE} |
73 |
.endfor |
72 |
.endfor |
74 |
${LN} -s ${PREFIX}/${SAVAGEDIR}/libs/libfmod-3.75.so ${PREFIX}/${SAVAGEDIR}/libs/libfmod.so |
73 |
${LN} -s ${PREFIX}/${SAVAGEDIR}/libs/libfmod-3.75.so ${STAGEDIR}${PREFIX}/${SAVAGEDIR}/libs/libfmod.so |
75 |
|
74 |
|
76 |
.if ${PORT_OPTIONS:MDOCS} |
75 |
.if ${PORT_OPTIONS:MDOCS} |
77 |
@${MKDIR} ${PREFIX}/${DOCSDIR} |
76 |
@${MKDIR} ${STAGEDIR}${PREFIX}/${DOCSDIR} |
78 |
${INSTALL_DATA} ${WRKSRC}/licenses.txt ${PREFIX}/${DOCSDIR} |
77 |
${INSTALL_DATA} ${WRKSRC}/licenses.txt ${STAGEDIR}${PREFIX}/${DOCSDIR} |
79 |
.endif |
78 |
.endif |
80 |
|
79 |
|
81 |
post-install: |
80 |
post-install: |
82 |
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL |
|
|
83 |
@${CAT} ${PKGMESSAGE} |
81 |
@${CAT} ${PKGMESSAGE} |
84 |
|
82 |
|
85 |
.include <bsd.port.post.mk> |
83 |
.include <bsd.port.post.mk> |