summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-10-24 12:51:21 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-10-24 12:51:21 +0800
commite0b8a889fb9fae8421d291e3b1ccc27e80afde6d (patch)
tree62f82662bec0a1c5fd77c9ee127f3f2a4309c643 /graphics
parentda3e873a1a7d3163ba148cf3f5e0761395f85e2d (diff)
downloadmarcuscom-ports-e0b8a889fb9fae8421d291e3b1ccc27e80afde6d.tar
marcuscom-ports-e0b8a889fb9fae8421d291e3b1ccc27e80afde6d.tar.gz
marcuscom-ports-e0b8a889fb9fae8421d291e3b1ccc27e80afde6d.tar.bz2
marcuscom-ports-e0b8a889fb9fae8421d291e3b1ccc27e80afde6d.tar.lz
marcuscom-ports-e0b8a889fb9fae8421d291e3b1ccc27e80afde6d.tar.xz
marcuscom-ports-e0b8a889fb9fae8421d291e3b1ccc27e80afde6d.tar.zst
marcuscom-ports-e0b8a889fb9fae8421d291e3b1ccc27e80afde6d.zip
Fix installation when ${PREFIX}/share/applications doesn't exist.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9861 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gcolor2/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/gcolor2/Makefile b/graphics/gcolor2/Makefile
index 60c2f43f9..ea865c490 100644
--- a/graphics/gcolor2/Makefile
+++ b/graphics/gcolor2/Makefile
@@ -24,6 +24,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
SUB_FILES= gcolor2.desktop
post-install:
+ ${MKDIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKDIR}/gcolor2.desktop ${PREFIX}/share/applications
.include <bsd.port.mk>