diff options
author | danfe <danfe@FreeBSD.org> | 2015-01-14 22:20:20 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2015-01-14 22:20:20 +0800 |
commit | b5c2f0d87937af17b8017ad2af4c9daf4ccf8629 (patch) | |
tree | aeeff5f98a4167c27fb210787df0a2e9823ebaba /astro | |
parent | 51792be7d502f458261cd9d9e742633ca009b544 (diff) | |
download | freebsd-ports-gnome-b5c2f0d87937af17b8017ad2af4c9daf4ccf8629.tar.gz freebsd-ports-gnome-b5c2f0d87937af17b8017ad2af4c9daf4ccf8629.tar.zst freebsd-ports-gnome-b5c2f0d87937af17b8017ad2af4c9daf4ccf8629.zip |
Use more neutral way to describe optional textures, since different people
may adhere to different definitions of "high-resolution".
Diffstat (limited to 'astro')
-rw-r--r-- | astro/stellarium-qt4/Makefile | 10 | ||||
-rw-r--r-- | astro/stellarium/Makefile | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/astro/stellarium-qt4/Makefile b/astro/stellarium-qt4/Makefile index 78ebc027ec5d..b107ce181d22 100644 --- a/astro/stellarium-qt4/Makefile +++ b/astro/stellarium-qt4/Makefile @@ -24,10 +24,10 @@ INSTALLS_ICONS= yes PORTDOCS= AUTHORS ChangeLog README -OPTIONS_DEFINE= MORE_STARS HR_TEXTURES MULTIMEDIA SCRIPTING DOCS -OPTIONS_DEFAULT= MULTIMEDIA SCRIPTING HR_TEXTURES +OPTIONS_DEFINE= MORE_STARS TEXTURES MULTIMEDIA SCRIPTING DOCS +OPTIONS_DEFAULT= MULTIMEDIA SCRIPTING TEXTURES MORE_STARS_DESC= Install extra star catalogs (1.0GB) -HR_TEXTURES_DESC= Install high-resolution textures +TEXTURES_DESC= Install better quality textures MULTIMEDIA_DESC= Sound and video support (via Phonon) SCRIPTING_DESC= Scripting support @@ -45,7 +45,7 @@ PLIST_SUB+= MORE_STARS="" PLIST_SUB+= MORE_STARS="@comment " .endif -.if ${PORT_OPTIONS:MHR_TEXTURES} +.if ${PORT_OPTIONS:MTEXTURES} MASTER_SITES+= SF/${PORTNAME}/textures:gfx DISTFILES+= textures-1K.zip:gfx PLIST_SUB+= TEXTURES="" @@ -81,7 +81,7 @@ post-install: ${INSTALL_DATA} ${DISTDIR}/stars_[45678]_[12]v0_1.cat \ ${STAGEDIR}${DATADIR}/stars/default .endif -.if ${PORT_OPTIONS:MHR_TEXTURES} +.if ${PORT_OPTIONS:MTEXTURES} (cd ${WRKDIR} && for f in *.png; do \ new=`${STAT} -f '%z' $$f` ; \ existing=`${STAT} -qf '%z' \ diff --git a/astro/stellarium/Makefile b/astro/stellarium/Makefile index 158bd2d29546..b423be291c44 100644 --- a/astro/stellarium/Makefile +++ b/astro/stellarium/Makefile @@ -20,10 +20,10 @@ INSTALLS_ICONS= yes PORTDOCS= AUTHORS ChangeLog README -OPTIONS_DEFINE= MORE_STARS HR_TEXTURES MULTIMEDIA DOCS +OPTIONS_DEFINE= MORE_STARS TEXTURES MULTIMEDIA DOCS OPTIONS_DEFAULT= MULTIMEDIA MORE_STARS_DESC= Install extra star catalogs (1.0GB) -HR_TEXTURES_DESC= Install high-resolution textures +TEXTURES_DESC= Install better quality textures MULTIMEDIA_DESC= Sound and video support .include <bsd.port.options.mk> @@ -40,7 +40,7 @@ PLIST_SUB+= MORE_STARS="" PLIST_SUB+= MORE_STARS="@comment " .endif -.if ${PORT_OPTIONS:MHR_TEXTURES} +.if ${PORT_OPTIONS:MTEXTURES} MASTER_SITES+= SF/${PORTNAME}/textures:gfx DISTFILES+= textures-1K.zip:gfx .endif @@ -59,14 +59,14 @@ post-install: ${INSTALL_DATA} ${DISTDIR}/stars_[45678]_[12]v0_1.cat \ ${STAGEDIR}${DATADIR}/stars/default .endif -.if ${PORT_OPTIONS:MHR_TEXTURES} +.if ${PORT_OPTIONS:MTEXTURES} (cd ${WRKDIR} && for f in *.png; do \ new=`${STAT} -f '%z' $$f` ; \ existing=`${STAT} -f '%z' \ ${STAGEDIR}${DATADIR}/textures/$$f` ; \ ${TEST} $$new -gt $$existing || continue ; \ ${ECHO_CMD} "-- Replacing texture: $$f\ - (has larger file size)" ; \ + (has larger file size: $$new vs. $$existing)" ; \ ${INSTALL_DATA} $$f ${STAGEDIR}${DATADIR}/textures ; \ done) .endif |