aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-08-14 09:52:49 +0800
committervanilla <vanilla@FreeBSD.org>2014-08-14 09:52:49 +0800
commit4e12321f799e2f2b74ccf7c375fa49f148075b10 (patch)
tree49761391c649f780638ed9c3a0b91ea984ee5c9e
parentb26256d3d0a08aaf64547bb7aa4b78e9e5fd8740 (diff)
downloadfreebsd-ports-gnome-4e12321f799e2f2b74ccf7c375fa49f148075b10.tar.gz
freebsd-ports-gnome-4e12321f799e2f2b74ccf7c375fa49f148075b10.tar.zst
freebsd-ports-gnome-4e12321f799e2f2b74ccf7c375fa49f148075b10.zip
1: Stagify.
2: Add LICENSE.
-rw-r--r--devel/omniNotify/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/devel/omniNotify/Makefile b/devel/omniNotify/Makefile
index ccc68e5ea487..68afaad001c9 100644
--- a/devel/omniNotify/Makefile
+++ b/devel/omniNotify/Makefile
@@ -11,6 +11,8 @@ DISTNAME= omniNotify-2-latest
MAINTAINER= ports@FreeBSD.org
COMMENT= CORBA Notification Service (CosNotification) for omniORB
+LICENSE= GPLv2
+
LIB_DEPENDS= libomniORB4.so:${PORTSDIR}/devel/omniORB
RUN_DEPENDS= omniidl:${PORTSDIR}/devel/omniORB
# parts of omniORB4 source tree is required to build
@@ -20,7 +22,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
CONFIGURE_WRKSRC= ${WRKSRC}/build
BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
INSTALL_WRKSRC= ${CONFIGURE_WRKSRC}
-OMNIORB_WRKSRC!= cd ${.CURDIR}/../omniORB && ${MAKE} -V WRKSRC
+OMNIORB_WRKSRC= `cd ${PORTSDIR}/devel/omniORB && ${MAKE} -V WRKSRC`
USES= gmake
USE_PYTHON= yes
@@ -31,9 +33,7 @@ USE_LDCONFIG= yes
CONFIGURE_SCRIPT= ../configure
CONFIGURE_ENV+= PYTHON=${PYTHON_CMD}
CONFIGURE_ARGS= --with-omniorb=${LOCALBASE}
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE= EXAMPLES
pre-configure:
@${MKDIR} ${CONFIGURE_WRKSRC}
@@ -44,9 +44,7 @@ post-patch:
${WRKSRC}/mk/beforeauto.mk.in
post-install:
-.if !defined(NOPORTEXAMPLES)
- @${MKDIR} ${EXAMPLESDIR}
- @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR} "! ( -name \.cvsignore -o -name *\.orig )"
-.endif
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! ( -name \.cvsignore -o -name *\.orig )"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>