aboutsummaryrefslogtreecommitdiffstats
path: root/misc/shared-mime-info/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2007-05-20 06:01:13 +0800
committermarcus <marcus@FreeBSD.org>2007-05-20 06:01:13 +0800
commit3cd8209a03f8009623b914f1b67160bfab1c3c8f (patch)
tree8144eb5df066cbb0ac1d9d8779ea79ff5e5026c7 /misc/shared-mime-info/Makefile
parentde7bde33b15ed0109c9b689dbbbb3a59442a2675 (diff)
downloadfreebsd-ports-gnome-3cd8209a03f8009623b914f1b67160bfab1c3c8f.tar.gz
freebsd-ports-gnome-3cd8209a03f8009623b914f1b67160bfab1c3c8f.tar.zst
freebsd-ports-gnome-3cd8209a03f8009623b914f1b67160bfab1c3c8f.zip
Remove support for a separate X11BASE.
Approved by: portmgr (implicit)
Diffstat (limited to 'misc/shared-mime-info/Makefile')
-rw-r--r--misc/shared-mime-info/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/misc/shared-mime-info/Makefile b/misc/shared-mime-info/Makefile
index ef2025c421d0..299dbb6baf0a 100644
--- a/misc/shared-mime-info/Makefile
+++ b/misc/shared-mime-info/Makefile
@@ -6,7 +6,7 @@
PORTNAME= shared-mime-info
PORTVERSION= 0.21
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= misc gnome
MASTER_SITES= http://people.freedesktop.org/~hadess/
@@ -26,9 +26,7 @@ MAN1= update-mime-database.1
PKGINSTALL= ${WRKDIR}/pkg-install
-MIMEDIRS= ${X11BASE}/share/gnome/mime \
- ${LOCALBASE}/share/gnome/mime \
- ${X11BASE}/share/mime \
+MIMEDIRS= ${LOCALBASE}/share/gnome/mime \
${LOCALBASE}/share/mime \
${PREFIX}/share/mime \
/usr/share/mime
@@ -38,15 +36,9 @@ MIMESUBDIRS= application audio image inode message model multipart \
post-patch:
@${REINPLACE_CMD} -e 's|%%MIMEDIRS%%|${MIMEDIRS}|g' \
${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \
- s|%%X11BASE%%|${X11BASE}|g' \
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/update-mime-database.c
-pre-su-install:
-.for subdir in ${MIMESUBDIRS}
- ${MKDIR} ${X11BASE}/share/mime/${subdir}
-.endfor
-
post-install:
@${SED} -e 's|%%PREFIX%%|${PREFIX}| ; \
s|%%MIMEDIRS%%|${MIMEDIRS}|' \