summaryrefslogtreecommitdiff
path: root/misc/libreoffice4-bin
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2014-03-06 07:36:04 +0000
committeruebayasi <uebayasi>2014-03-06 07:36:04 +0000
commit089243104ac660420f828f0b073abecfc8e62b46 (patch)
tree5639e9759c9a8894d96baf6c481aad8c233ab1af /misc/libreoffice4-bin
parent9457ede4df91ee122675bf244ac3124092c1cadb (diff)
downloadpkgsrc-089243104ac660420f828f0b073abecfc8e62b46.tar.gz
Use ${UNIQ}.
Diffstat (limited to 'misc/libreoffice4-bin')
-rw-r--r--misc/libreoffice4-bin/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/libreoffice4-bin/Makefile b/misc/libreoffice4-bin/Makefile
index bfcb4778bec..b4962a0dcfb 100644
--- a/misc/libreoffice4-bin/Makefile
+++ b/misc/libreoffice4-bin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2014/01/22 12:40:53 obache Exp $
+# $NetBSD: Makefile,v 1.5 2014/03/06 07:36:05 uebayasi Exp $
DISTNAME= libreoffice4-bin # overridden below
PKGNAME= libreoffice4-bin-${OO_RELEASE}
@@ -48,7 +48,7 @@ RPM2PKG_SUBPREFIX= # empty
RPM2PKG_STAGE= do-install
RUN_LDCONFIG= no
-USE_TOOLS+= patch
+USE_TOOLS+= patch uniq
.include "../../mk/bsd.prefs.mk"
@@ -71,7 +71,7 @@ do-install:
# ${RM} -f ${DESTDIR}${PREFIX}/opt/libreoffice${OO_BASEVER}/program/soffice.orig
${PATCH} -d ${DESTDIR}${PREFIX}/opt/libreoffice${OO_BASEVER}/program < ${FILESDIR}/spadmin-patch
${RM} -f ${DESTDIR}${PREFIX}/opt/libreoffice${OO_BASEVER}/program/spadmin.orig
- uniq ${RPM2PKG_PLIST} | \
+ ${UNIQ} ${RPM2PKG_PLIST} | \
${SED} -e 's,^@exec mkdir -m 755 -p %D/,@pkgdir,' > ${WRKDIR}/PLIST
${RM} -f ${DESTDIR}${PREFIX}/bin/soffice
${SED} -e "s|@@PREFIX@@|${PREFIX}|g" -e "s|@@OO_VER@@|${OO_VER}|g" \