[Midnightbsd-cvs] mports: Makefile: Switch to ${RM}, clean up extra spaces and other

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Oct 21 16:56:07 EDT 2008


Log Message:
-----------
Switch to ${RM}, clean up extra spaces and other things caught by portlint.

Modified Files:
--------------
    mports/editors/linux-openoffice3:
        Makefile (r1.3 -> r1.4)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/editors/linux-openoffice3/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -L editors/linux-openoffice3/Makefile -L editors/linux-openoffice3/Makefile -u -r1.3 -r1.4
--- editors/linux-openoffice3/Makefile
+++ editors/linux-openoffice3/Makefile
@@ -7,11 +7,11 @@
 
 PORTNAME=	openoffice3
 PORTVERSION=	${OO_RELEASE}
-PORTREVISION=	0
-CATEGORIES=	editors java linux 
+PORTREVISION=	1
+CATEGORIES=	editors java linux
 MASTER_SITES=	${MASTER_SITE_OPENOFFICE:=stable/${OO_RELEASE}/}
 PKGNAMEPREFIX?=	linux-
-DISTNAME=		OOo_${OO_RELEASE}_LinuxIntel_install_en-US
+DISTNAME=	OOo_${OO_RELEASE}_LinuxIntel_install_en-US
 EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 
 MAINTAINER=	luke at midnightbsd.org
@@ -25,7 +25,7 @@
 USE_GCPIO=	yes
 USE_LINUX=	yes
 USE_XORG=	x11 ice xaw xau xext xrender xrandr \
-		xi xt xcursor xdamage xcomposite xfixes 
+		xi xt xcursor xdamage xcomposite xfixes
 NO_BUILD=	yes
 
 OO_VER=		3.0
@@ -97,7 +97,7 @@
 
 .if defined(WITH_JAVA)
 USE_JAVA=	yes
-JAVA_VERSION=	1.4 1.5
+JAVA_VERSION=	1.4 1.5 1.6
 .endif
 
 pre-fetch:
@@ -163,7 +163,7 @@
 	${LN} -sf ${PREFIX}/openoffice.org3/share/xdg/math.desktop ${PREFIX}/share/applications/openoffice.org${OO_VER}-math.desktop
 	${LN} -sf ${PREFIX}/openoffice.org3/share/xdg/printeradmin.desktop ${PREFIX}/share/applications/openoffice.org${OO_VER}-printeradmin.desktop
 	${LN} -sf ${PREFIX}/openoffice.org3/share/xdg/writer.desktop ${PREFIX}/share/applications/openoffice.org${OO_VER}-writer.desktop
-	${LN} -sf ${PREFIX}/openoffice.org3/program/soffice ${PREFIX}/bin/soffice 
+	${LN} -sf ${PREFIX}/openoffice.org3/program/soffice ${PREFIX}/bin/soffice
 	${REINPLACE_CMD} "s,/etc,${TRUE_PREFIX}," \
 		${WRKDIR}/oo/usr/bin/openoffice.org3
 	${INSTALL} ${WRKDIR}/oo/usr/bin/openoffice.org3 ${PREFIX}/bin/
@@ -173,7 +173,7 @@
 .endfor
 
 post-install:
-	(cd ${PREFIX}/openoffice.org3; rm basis-link; ${LN} -s basis3.0 basis-link )
-	(cd ${PREFIX}/openoffice.org3/basis3.0; rm ure-link;  ${LN} -s ure ure-link )
+	(cd ${PREFIX}/openoffice.org3; ${RM} basis-link; ${LN} -s basis3.0 basis-link )
+	(cd ${PREFIX}/openoffice.org3/basis3.0; ${RM} ure-link;  ${LN} -s ure ure-link )
 
 .include <bsd.port.post.mk>


More information about the Midnightbsd-cvs mailing list