aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2008-12-28 02:56:22 +0800
committeritetcu <itetcu@FreeBSD.org>2008-12-28 02:56:22 +0800
commit2de3b0d61f5b6b658ee5ef30a690c63c3d2bc094 (patch)
tree1b11f7d2c3f6a49b7468ecb86e04e7bff6d1b9f1
parent9954def0d6286536f30ab55e885f4cfd928f96c9 (diff)
downloadfreebsd-ports-gnome-2de3b0d61f5b6b658ee5ef30a690c63c3d2bc094.tar.gz
freebsd-ports-gnome-2de3b0d61f5b6b658ee5ef30a690c63c3d2bc094.tar.zst
freebsd-ports-gnome-2de3b0d61f5b6b658ee5ef30a690c63c3d2bc094.zip
Pet portlint.
-rw-r--r--www/opera-devel/Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/www/opera-devel/Makefile b/www/opera-devel/Makefile
index 7f767b3d501a..bd16ac27ca25 100644
--- a/www/opera-devel/Makefile
+++ b/www/opera-devel/Makefile
@@ -8,7 +8,7 @@
PORTNAME= opera
PORTVERSION= ${OPERA_VER}
CATEGORIES= www ipv6
-MASTER_SITES= http://snapshot.opera.com/${MASTER_SITES_VER_PATH} \
+MASTER_SITES= http://snapshot.opera.com/${MASTER_SITES_VER_PATH}/ \
http://T32.TecNik93.com/FreeBSD/others_ports/${PORTNAME}${PKGNAMESUFFIX}/sources/
PKGNAMESUFFIX= -devel
DISTNAME= ${PORTNAME}-${OPERA_VER}0-${OPERA_BUILD}.freebsd${OPERA_TYPE}-shared-qt3.${ARCH}
@@ -21,9 +21,8 @@ OPERA_MINVER= Alpha-1
OPERA_REL= final
#OPERA_DATE= 20080422
OPERA_BUILD= 4102
-MASTER_SITES_VER_PATH= unix/${OPERA_VER}-${OPERA_MINVER}/${OPERA_ARCH}-freebsd/
+MASTER_SITES_VER_PATH= unix/${OPERA_VER}-${OPERA_MINVER}/${OPERA_ARCH}-freebsd
WRKSRC= ${WRKDIR}/${DISTNAME}
-#${OPERA_REL}/en/${OPERA_LIB}/
DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
@@ -38,19 +37,17 @@ OPTIONS= ASPELL "Use the aspell library for spell checking" on
.include <bsd.port.pre.mk>
OPERA_ARCH= ${ARCH:S,i386,intel,}
+
ONLY_FOR_ARCHS= i386 amd64
+
.if ${OSVERSION} >= 700000
OPERA_TYPE= 7
.elif ${OSVERSION} >= 600000
OPERA_TYPE= 6
.else
-IGNORE= is only supported on FreeBSD 6.x and higher
+IGNORE= is only supported on FreeBSD 6.x and higher
.endif
-#MASTER_SITES_VER_PATH= unix/${OPERA_VER}-${OPERA_MINVER}/${OPERA_ARCH}-freebsd/
-#WRKSRC= ${WRKDIR}/${DISTNAME}
-#DISTNAME= ${PORTNAME}-${OPERA_VER}0-${OPERA_BUILD}.freebsd${OPERA_TYPE}-shared-qt3.${ARCH}
-
.if !defined(WITHOUT_ASPELL)
LIB_DEPENDS+= aspell.16:${PORTSDIR}/textproc/aspell
.endif
@@ -70,10 +67,9 @@ make-distinfo:
echo "generating distinfo for $${_arch} $${_osver}"; \
cd ${.CURDIR} && \
make ARCH=$${_arch} OSVERSION=$${_osver} makesum && \
- mv distinfo distinfo.$${_arch}.$${_osver}; \
+ ${MV} distinfo distinfo.$${_arch}.$${_osver}; \
done \
done && \
- cat distinfo.* > distinfo && rm distinfo.*)
-
+ ${CAT} distinfo.* > distinfo && ${RM} distinfo.*)
.include <bsd.port.post.mk>