Lines 22-31
Link Here
|
22 |
DOS2UNIX_GLOB= *.ini *.txt |
22 |
DOS2UNIX_GLOB= *.ini *.txt |
23 |
|
23 |
|
24 |
DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX:S/-//} |
24 |
DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX:S/-//} |
25 |
PLIST= ${WRKDIR}/pkg-plist |
|
|
26 |
WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX:S/-/_/}linux |
25 |
WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX:S/-/_/}linux |
27 |
EL_DATA= ${PKGNAMEPREFIX:S/-/_/}linux_${PORTVERSION}.zip |
26 |
EL_DATA= ${PKGNAMEPREFIX:S/-/_/}linux_${PORTVERSION}.zip |
28 |
|
27 |
|
|
|
28 |
PORTDATA= * |
29 |
|
29 |
OPTIONS_DEFINE= ELSOUND ELMUSIC |
30 |
OPTIONS_DEFINE= ELSOUND ELMUSIC |
30 |
OPTIONS_DEFAULT= ELSOUND ELMUSIC |
31 |
OPTIONS_DEFAULT= ELSOUND ELMUSIC |
31 |
ELSOUND_DESC= Install additional sound files |
32 |
ELSOUND_DESC= Install additional sound files |
Lines 35-46
Link Here
|
35 |
|
36 |
|
36 |
.if ${PORT_OPTIONS:MELSOUND} |
37 |
.if ${PORT_OPTIONS:MELSOUND} |
37 |
DISTFILES+= EL_sound_191${EXTRACT_SUFX}:sound |
38 |
DISTFILES+= EL_sound_191${EXTRACT_SUFX}:sound |
38 |
HAVE_ESOUND= yes |
|
|
39 |
.endif |
39 |
.endif |
40 |
|
40 |
|
41 |
.if ${PORT_OPTIONS:MELMUSIC} |
41 |
.if ${PORT_OPTIONS:MELMUSIC} |
42 |
DISTFILES+= EL_music_full${EXTRACT_SUFX}:music |
42 |
DISTFILES+= EL_music_full${EXTRACT_SUFX}:music |
43 |
HAVE_EMUSIC= yes |
|
|
44 |
.endif |
43 |
.endif |
45 |
|
44 |
|
46 |
do-extract: |
45 |
do-extract: |
Lines 64-80
Link Here
|
64 |
@${FIND} ${WRKSRC} -type f -name "*.bin" -print0 | \ |
63 |
@${FIND} ${WRKSRC} -type f -name "*.bin" -print0 | \ |
65 |
${XARGS} -0 ${RM} -R |
64 |
${XARGS} -0 ${RM} -R |
66 |
|
65 |
|
67 |
pre-install: |
|
|
68 |
@${RM} -f ${PLIST} |
69 |
@cd ${WRKSRC} && \ |
70 |
${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST} && \ |
71 |
${FIND} * -type d | ${SORT} -r | ${SED} -e 's|^|@dirrm %%DATADIR%%/|' >> ${PLIST} |
72 |
@${ECHO_CMD} "@dirrm %%DATADIR%%" >> ${PLIST} |
73 |
|
74 |
do-install: |
66 |
do-install: |
75 |
${MKDIR} ${STAGEDIR}${DATADIR} |
67 |
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} |
76 |
@cd ${WRKSRC} && \ |
|
|
77 |
${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/{}" \; && \ |
78 |
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \; |
79 |
|
68 |
|
80 |
.include <bsd.port.mk> |
69 |
.include <bsd.port.mk> |