aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ypsilon
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-27 23:29:35 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-27 23:29:35 +0800
commit8fe4f8a9fa1df087f3d0e4320856e0d4335025b1 (patch)
tree4a4baaba47d7aeeabdeea341d834d5682cf99a87 /lang/ypsilon
parent2becc905c2f3614804997ded955ae46be2335c5e (diff)
downloadfreebsd-ports-gnome-8fe4f8a9fa1df087f3d0e4320856e0d4335025b1.tar.gz
freebsd-ports-gnome-8fe4f8a9fa1df087f3d0e4320856e0d4335025b1.tar.zst
freebsd-ports-gnome-8fe4f8a9fa1df087f3d0e4320856e0d4335025b1.zip
Support staging
Diffstat (limited to 'lang/ypsilon')
-rw-r--r--lang/ypsilon/Makefile24
-rw-r--r--lang/ypsilon/pkg-plist1
2 files changed, 11 insertions, 14 deletions
diff --git a/lang/ypsilon/Makefile b/lang/ypsilon/Makefile
index 78e7c173cecf..0386f90ce415 100644
--- a/lang/ypsilon/Makefile
+++ b/lang/ypsilon/Makefile
@@ -11,28 +11,24 @@ DISTNAME= ${PORTNAME}-0.9.6.update3
MAINTAINER= vmagerya@gmail.com
COMMENT= Scheme implementation for real-time applications
-USE_GMAKE= yes
+USES= gmake
+
MAKE_ARGS= DATADIR="${DATADIR}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
-MAN1= ypsilon.1
-
ONLY_FOR_ARCHS= i386 amd64
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE= EXAMPLES
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
- @${MKDIR} ${DATADIR}
- (cd ${WRKSRC}/ && ${COPYTREE_SHARE} "sitelib stdlib" ${DATADIR})
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- @${INSTALL_DATA} ${WRKSRC}/example/*.scm ${EXAMPLESDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ (cd ${WRKSRC}/ && ${COPYTREE_SHARE} "sitelib stdlib" ${STAGEDIR}${DATADIR})
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/example/*.scm ${STAGEDIR}${EXAMPLESDIR}
regression-test: build
cd ${WRKSRC} && ${GMAKE} check
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/lang/ypsilon/pkg-plist b/lang/ypsilon/pkg-plist
index e18a18428f2a..6df6886d9a18 100644
--- a/lang/ypsilon/pkg-plist
+++ b/lang/ypsilon/pkg-plist
@@ -1,4 +1,5 @@
bin/ypsilon
+man/man1/ypsilon.1.gz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gears.scm
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/glut-demo.scm
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gtk-hello.scm