diff options
author | Dejan Lesjak <lesi@FreeBSD.org> | 2005-06-15 02:42:14 +0000 |
---|---|---|
committer | Dejan Lesjak <lesi@FreeBSD.org> | 2005-06-15 02:42:14 +0000 |
commit | 5066edac69f0b75a3904e5aaa7fbcf3c140dc131 (patch) | |
tree | 806b9a6794965f086c7b4f9ca9538b2e2e2825e9 /databases/xmysqladmin | |
parent | 2552b8e5f9c2bef21e6add3686f7c04684f0622f (diff) |
Fix up plist after modifications to mtree (BSD.x11-4.dist rev. 1.27).
Notes
Notes:
svn path=/head/; revision=137467
Diffstat (limited to 'databases/xmysqladmin')
-rw-r--r-- | databases/xmysqladmin/Makefile | 13 | ||||
-rw-r--r-- | databases/xmysqladmin/pkg-plist | 1 |
2 files changed, 13 insertions, 1 deletions
diff --git a/databases/xmysqladmin/Makefile b/databases/xmysqladmin/Makefile index 6c71e65bf7af..71aa0f375b1f 100644 --- a/databases/xmysqladmin/Makefile +++ b/databases/xmysqladmin/Makefile @@ -22,4 +22,15 @@ USE_X_PREFIX= yes USE_XPM= yes ALL_TARGET= xmysqladmin -.include <bsd.port.mk> +pre-su-install: + @${MKDIR} ${PREFIX}/include/X11/pixmaps + +.include <bsd.port.pre.mk> + +.if ${X_WINDOW_SYSTEM:L} == xfree86-4 +PLIST_SUB+= NEWMTREE="" +.else +PLIST_SUB+= NEWMTREE="@comment " +.endif + +.include <bsd.port.post.mk> diff --git a/databases/xmysqladmin/pkg-plist b/databases/xmysqladmin/pkg-plist index 76ef5587ac90..1cebab36da03 100644 --- a/databases/xmysqladmin/pkg-plist +++ b/databases/xmysqladmin/pkg-plist @@ -1,2 +1,3 @@ bin/xmysqladmin include/X11/pixmaps/mysql.xpm +%%NEWMTREE%%@unexec rmdir %D/include/X11/pixmaps 2>/dev/null || true |