Changeset View
Changeset View
Standalone View
Standalone View
head/www/linux-c6-flashplugin11/Makefile
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | |||||
.endif | .endif | ||||
.endif | .endif | ||||
.if ${PORT_OPTIONS:MGNOME} | .if ${PORT_OPTIONS:MGNOME} | ||||
INSTALLS_ICONS= yes | INSTALLS_ICONS= yes | ||||
.endif | .endif | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' -e '/^NotShowIn=KDE/d' ${WRKDIR}/usr/share/applications/flash-player-properties.desktop | @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' -e '/^NotShowIn=KDE/d' ${WRKSRC}/usr/share/applications/flash-player-properties.desktop | ||||
do-install: | do-install: | ||||
${MKDIR} ${STAGEDIR}${WEBPLUGIN_DIR} | ${MKDIR} ${STAGEDIR}${WEBPLUGIN_DIR} | ||||
${INSTALL_LIB} ${WRKDIR}/libflashplayer.so ${STAGEDIR}${WEBPLUGIN_DIR} | ${INSTALL_LIB} ${WRKSRC}/libflashplayer.so ${STAGEDIR}${WEBPLUGIN_DIR} | ||||
.if ! ${PORT_OPTIONS:MALSA} | .if ! ${PORT_OPTIONS:MALSA} | ||||
${MKDIR} ${STAGEDIR}${LINUXBASE}/usr/lib | ${MKDIR} ${STAGEDIR}${LINUXBASE}/usr/lib | ||||
${INSTALL_LIB} ${WRKDIR}/libflashsupport.so ${STAGEDIR}${LINUXBASE}/usr/lib | ${INSTALL_LIB} ${WRKSRC}/libflashsupport.so ${STAGEDIR}${LINUXBASE}/usr/lib | ||||
.endif | .endif | ||||
${INSTALL_PROGRAM} ${WRKDIR}/usr/bin/flash-player-properties ${STAGEDIR}${PREFIX}/bin | ${INSTALL_PROGRAM} ${WRKSRC}/usr/bin/flash-player-properties ${STAGEDIR}${PREFIX}/bin | ||||
${INSTALL_DATA} ${WRKDIR}/usr/share/applications/flash-player-properties.desktop ${STAGEDIR}${DESKTOPDIR} | ${INSTALL_DATA} ${WRKSRC}/usr/share/applications/flash-player-properties.desktop ${STAGEDIR}${DESKTOPDIR} | ||||
(cd ${WRKDIR}/usr/share/icons && ${COPYTREE_SHARE} hicolor ${STAGEDIR}${PREFIX}/share/icons) | (cd ${WRKSRC}/usr/share/icons && ${COPYTREE_SHARE} hicolor ${STAGEDIR}${PREFIX}/share/icons) | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |