aboutsummaryrefslogtreecommitdiff
path: root/net/unison
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2011-02-27 18:48:44 +0000
committerMatthias Andree <mandree@FreeBSD.org>2011-02-27 18:48:44 +0000
commitc65869d57b16b1e70e7af9b0adf436636e12ed00 (patch)
tree4f2af3648f74666f10b780861ad2d25cf4745f45 /net/unison
parent8ee3b5458b6c6be984005488caa982ed161fa2c1 (diff)
downloadports-c65869d57b16b1e70e7af9b0adf436636e12ed00.tar.gz
ports-c65869d57b16b1e70e7af9b0adf436636e12ed00.zip
Fix GTK2-enabled "make package" from a PREFIX where ${DESKTOPDIR} was not
create previously: make the directory before installing the .desktop file.
Notes
Notes: svn path=/head/; revision=269929
Diffstat (limited to 'net/unison')
-rw-r--r--net/unison/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/unison/Makefile b/net/unison/Makefile
index 7f264731ad3c..13a7b9adba31 100644
--- a/net/unison/Makefile
+++ b/net/unison/Makefile
@@ -74,6 +74,7 @@ post-install:
.endif
.if defined(WITH_GTK2)
@${INSTALL_PROGRAM} ${WRKSRC}/unison-text ${PREFIX}/bin
+ @${MKDIR} ${DESKTOPDIR}
@${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${DESKTOPDIR}
@-update-desktop-database > /dev/null
@${CAT} ${PKGMESSAGE}