Lines 23-33
Link Here
|
23 |
USE_REINPLACE= yes |
23 |
USE_REINPLACE= yes |
24 |
|
24 |
|
25 |
DATADIR= ${PREFIX}/share/xmms/VU_Meter_skins |
25 |
DATADIR= ${PREFIX}/share/xmms/VU_Meter_skins |
|
|
26 |
PLIST_SUB= DATADIR="${DATADIR:S,^${PREFIX}/,,}" |
26 |
|
27 |
|
27 |
post-patch: |
28 |
post-patch: |
28 |
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' ${WRKSRC}/src/vumeter.h |
29 |
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' ${WRKSRC}/src/vumeter.h |
29 |
|
30 |
|
30 |
post-install: |
31 |
post-install: |
31 |
@${CP} -R ${WRKSRC}/skins ${DATADIR} |
32 |
.for s in default default.mirror default.oldxmms |
|
|
33 |
${MKDIR} ${DATADIR}/${s} |
34 |
${INSTALL_DATA} ${WRKSRC}/skins/${s}/* ${DATADIR}/${s} |
35 |
.endfor |
32 |
|
36 |
|
33 |
.include <bsd.port.mk> |
37 |
.include <bsd.port.mk> |