aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/xsidplay/Makefile1
-rw-r--r--audio/xsidplay/pkg-plist1
2 files changed, 2 insertions, 0 deletions
diff --git a/audio/xsidplay/Makefile b/audio/xsidplay/Makefile
index 9e94b08604da..beeb544083a1 100644
--- a/audio/xsidplay/Makefile
+++ b/audio/xsidplay/Makefile
@@ -41,6 +41,7 @@ pre-patch:
@${PERL} -pi -e 's|/usr/share|${PREFIX}|g' ${WRKSRC}/xsidplay.1
do-install:
+ @${MKDIR} ${PREFIX}/share/pixmaps
@${INSTALL_PROGRAM} ${WRKSRC}/src/xsidplay ${PREFIX}/bin
@${INSTALL_DATA} ${WRKSRC}/xsidplay.xpm ${PREFIX}/share/pixmaps
@${INSTALL_MAN} ${WRKSRC}/xsidplay.1 ${MANPREFIX}/man/man1
diff --git a/audio/xsidplay/pkg-plist b/audio/xsidplay/pkg-plist
index 706c6c138c93..9ab7a18d5df3 100644
--- a/audio/xsidplay/pkg-plist
+++ b/audio/xsidplay/pkg-plist
@@ -26,3 +26,4 @@ share/pixmaps/xsidplay.xpm
%%PORTDOCS%%share/examples/xsidplay/Zybernix.sid
%%PORTDOCS%%@dirrm share/examples/xsidplay
%%PORTDOCS%%@dirrm share/doc/xsidplay
+@unexec rmdir %D/share/pixmaps 2>/dev/null || true