aboutsummaryrefslogtreecommitdiff
path: root/astro/starplot
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-03 20:18:05 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-03 20:18:05 +0000
commit92d9f8b89ddeadcf0843749fad5c764af0ceb4e1 (patch)
treea6ff6b0c9f83cec367f6f3926f2bec01d392095c /astro/starplot
parent654093c5478a0b3348d498344a78e1553880196b (diff)
downloadports-92d9f8b89ddeadcf0843749fad5c764af0ceb4e1.tar.gz
ports-92d9f8b89ddeadcf0843749fad5c764af0ceb4e1.zip
Reduce unecessary bsd.port.options.mk inclusion.
Notes
Notes: svn path=/head/; revision=360454
Diffstat (limited to 'astro/starplot')
-rw-r--r--astro/starplot/Makefile4
-rw-r--r--astro/starplot/pkg-plist4
2 files changed, 3 insertions, 5 deletions
diff --git a/astro/starplot/Makefile b/astro/starplot/Makefile
index ca0a9dedf8ea..b0645a5f11a0 100644
--- a/astro/starplot/Makefile
+++ b/astro/starplot/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= http://starplot.org/downloads/
MAINTAINER= ports@FreeBSD.org
COMMENT= 3-dimensional viewer for star charts
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS EXAMPLES
USES= gmake pathfix gettext pkgconfig
USE_GNOME= gtk20
@@ -18,8 +18,6 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e \
's|$$(docdir)/examples|${EXAMPLESDIR}|g' ${WRKSRC}/configure
diff --git a/astro/starplot/pkg-plist b/astro/starplot/pkg-plist
index 60faaaa4e9a5..025721e3c27d 100644
--- a/astro/starplot/pkg-plist
+++ b/astro/starplot/pkg-plist
@@ -53,7 +53,7 @@ share/applications/starplot.desktop
%%PORTDOCS%%%%DOCSDIR%%/html/parfiles/hyades.par
%%PORTDOCS%%%%DOCSDIR%%/html/parfiles/scocen.par
%%PORTDOCS%%%%DOCSDIR%%/html/starplot.css
-%%EXAMPLESDIR%%/example.spec
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.spec
share/locale/en@boldquot/LC_MESSAGES/starplot.mo
share/locale/en@quot/LC_MESSAGES/starplot.mo
share/locale/es/LC_MESSAGES/starplot.mo
@@ -61,7 +61,7 @@ share/pixmaps/starplot32x32.xpm
%%DATADIR%%/sample.stars
%%DATADIR%%/test.stars
@dirrm %%DATADIR%%
-@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/parfiles
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/images
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html