aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2022-01-13 08:29:06 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2022-01-13 08:29:06 +0000
commit9c4ff612d80694f3f73edda77bd4172afb123e74 (patch)
tree3ca970f20436f764ac80ccedad182199f6f1e3b9
parentcf13a62abc1bdc4e70e429c8797e891c9bf2ba80 (diff)
downloadports-9c4ff612d80694f3f73edda77bd4172afb123e74.tar.gz
ports-9c4ff612d80694f3f73edda77bd4172afb123e74.zip
audio/ocp: Install desktop icons
-rw-r--r--audio/ocp/Makefile4
-rw-r--r--audio/ocp/pkg-plist2
2 files changed, 6 insertions, 0 deletions
diff --git a/audio/ocp/Makefile b/audio/ocp/Makefile
index 3b2d081db1f7..5346cb07b1a0 100644
--- a/audio/ocp/Makefile
+++ b/audio/ocp/Makefile
@@ -2,6 +2,7 @@
PORTNAME= ocp
PORTVERSION= 0.2.92
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= audio
MASTER_SITES= https://github.com/mywave82/opencubicplayer/releases/download/v${PORTVERSION}/
@@ -95,4 +96,7 @@ post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocp/*.so
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocp/autoload/*.so
+post-install-X11-on:
+ ${INSTALL_DATA} ${WRKSRC}/desktop/*.xpm ${STAGEDIR}${PREFIX}/share/pixmaps
+
.include <bsd.port.mk>
diff --git a/audio/ocp/pkg-plist b/audio/ocp/pkg-plist
index 4f22d833856c..7efcbabace7c 100644
--- a/audio/ocp/pkg-plist
+++ b/audio/ocp/pkg-plist
@@ -72,5 +72,7 @@ man/man1/ocp.1.gz
%%PORTDOCS%%%%DOCSDIR%%/html/starting.html
%%PORTDOCS%%%%DOCSDIR%%/html/support.html
%%PORTDOCS%%%%DOCSDIR%%/html/wap.html
+%%XORG%%share/pixmaps/opencubicplayer.xpm
+%%XORG%%share/pixmaps/opencubicplayer_mini.xpm
%%DATADIR%%/data/ocp.hlp
%%DATADIR%%/etc/ocp.ini