diff options
Diffstat (limited to 'databases/postgresql-plruby/Makefile')
-rw-r--r-- | databases/postgresql-plruby/Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/databases/postgresql-plruby/Makefile b/databases/postgresql-plruby/Makefile index 2d34cf01920a..064f9dbf9b2b 100644 --- a/databases/postgresql-plruby/Makefile +++ b/databases/postgresql-plruby/Makefile @@ -6,8 +6,7 @@ # PORTNAME= plruby -PORTVERSION= 0.3.8 -PORTREVISION= 1 +PORTVERSION= 0.3.9 CATEGORIES= databases ruby MASTER_SITES= ftp://moulon.inra.fr/pub/ruby/ PKGNAMEPREFIX= postgresql- @@ -16,31 +15,29 @@ DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org COMMENT= PL/Ruby procedural language for the PostgreSQL database system +BUILD_DEPENDS= postgres:${PORTSDIR}/${POSTGRESQL_PORT} LIB_DEPENDS= pq.3:${PGSQL_PORTDIR} RUN_DEPENDS= postgres:${PORTSDIR}/${POSTGRESQL_PORT} -BROKEN= "Does not compile" -DEPRECATED= ${BROKEN} -EXPIRATION_DATE=2004-04-15 - USE_RUBY= yes USE_RUBY_EXTCONF= yes +USE_RUBY_RDOC= yes POSTGRESQL_PORT?= databases/postgresql7 -PGSQL_VERSION?= 73 +PGSQL_VERSION?= 74 PGSQL_PORTDIR?= ${PORTSDIR}/${POSTGRESQL_PORT} PGSQL_WRKSRC_CMD= cd ${PGSQL_PORTDIR} && ${MAKE} -V WRKSRC CONFIGURE_ARGS= --with-pgsql-version="${PGSQL_VERSION}" \ --with-pgsql-srcinc="`${PGSQL_WRKSRC_CMD}`/src/include" \ - --with-pgsql-include-dir="${LOCALBASE}/include" \ + --with-pgsql-include="${LOCALBASE}/include" \ --with-pgsql-lib="${LOCALBASE}/lib" #CONFIGURE_ARGS+= --with-safe-level=0 #CONFIGURE_ARGS+= --with-main-safe-level=0 #CONFIGURE_ARGS+= --with-timeout=30 INSTALL_TARGET= site-install -DOCS= Changes README.en plruby.html plruby.rd +DOCS= Changes README.en plruby.html plruby.rd docs/doc PKGMESSAGE= ${WRKDIR}/createlang.sql @@ -57,6 +54,9 @@ pre-configure: post-build: ${SED} 's,!!PLRUBY_SO!!,${RUBY_SITEARCHLIBDIR}/plruby.so,' \ ${FILESDIR}/createlang.sql > ${WRKDIR}/createlang.sql +.if !defined(NOPORTDOCS) + cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} rdoc +.endif post-install: .if !defined(NOPORTDOCS) @@ -65,7 +65,7 @@ post-install: ${INSTALL_DATA} ${WRKDIR}/createlang.sql ${RUBY_MODEXAMPLESDIR}/ ${MKDIR} ${RUBY_MODDOCDIR} .for f in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ + ${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ .endfor .endif @${CAT} ${PKGMESSAGE} |