aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2013-12-18 04:57:25 +0800
committertijl <tijl@FreeBSD.org>2013-12-18 04:57:25 +0800
commit84b1319c7006cd4cd65e93074378cf0f4ca803ea (patch)
treed2654085c0f6bdd25e5328d04a60a944ccd9fb20
parent29529826f6bcc0addabb7f98114b89037df62ac7 (diff)
downloadfreebsd-ports-gnome-84b1319c7006cd4cd65e93074378cf0f4ca803ea.tar.gz
freebsd-ports-gnome-84b1319c7006cd4cd65e93074378cf0f4ca803ea.tar.zst
freebsd-ports-gnome-84b1319c7006cd4cd65e93074378cf0f4ca803ea.zip
USES=fortran and staging.
-rw-r--r--astro/nightfall/Makefile7
-rw-r--r--astro/nightfall/pkg-plist1
2 files changed, 3 insertions, 5 deletions
diff --git a/astro/nightfall/Makefile b/astro/nightfall/Makefile
index 4721a99d0569..d1b3e8e22a2a 100644
--- a/astro/nightfall/Makefile
+++ b/astro/nightfall/Makefile
@@ -14,7 +14,6 @@ OPTIONS_DEFINE= GNOME PGPLOT OPENGL
OPTIONS_DEFAULT= PGPLOT OPENGL
PGPLOT_DESC= Enable PGPLOT support
-NO_STAGE= yes
USES= gmake pathfix gettext perl5
USE_GNOME= gnomehier gtk20
GNU_CONFIGURE= yes
@@ -22,8 +21,6 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-locale-prefix=${PREFIX}/share/locale
-MAN1= nightfall.1
-
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGNOMEUI}
@@ -38,7 +35,7 @@ PLIST_SUB+= GNOMEUI="@comment "
.if ${PORT_OPTIONS:MPGPLOT}
LIB_DEPENDS+= libpgplot.so:${PORTSDIR}/graphics/pgplot
-USE_FORTRAN= yes
+USES+= fortran
CONFIGURE_ARGS+= --with-pgplot-include=${LOCALBASE}/include \
--with-pgplot-lib=${LOCALBASE}/lib
.else
@@ -61,6 +58,6 @@ post-patch:
post-install:
${INSTALL_DATA} ${WRKSRC}/nightfall.desktop \
- ${PREFIX}/share/applications
+ ${STAGEDIR}${PREFIX}/share/applications
.include <bsd.port.mk>
diff --git a/astro/nightfall/pkg-plist b/astro/nightfall/pkg-plist
index e5fa0f4b5be4..8019e721a9e7 100644
--- a/astro/nightfall/pkg-plist
+++ b/astro/nightfall/pkg-plist
@@ -1,4 +1,5 @@
bin/nightfall
+man/man1/nightfall.1.gz
share/applications/nightfall.desktop
%%GNOMEUI%%share/gnome/help/nightfall/C/nightfall.xml
%%GNOMEUI%%share/gnome/help/nightfall/de/nightfall.xml