mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
c12b600a5f
Allow packaging as a user
34 lines
794 B
Makefile
34 lines
794 B
Makefile
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gdbm
|
|
PORTVERSION= ${RUBY_PORTVERSION}
|
|
PORTREVISION= 3
|
|
PORTEPOCH= 1
|
|
CATEGORIES= databases ruby
|
|
MASTER_SITES= # none
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DISTFILES= # none
|
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
|
COMMENT= Ruby extension to GDBM library
|
|
|
|
FETCH_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/${RUBY_PORT}:patch
|
|
LIB_DEPENDS= libgdbm.so:${PORTSDIR}/databases/gdbm
|
|
|
|
PLIST_FILES= %%RUBY_ARCHLIBDIR%%/gdbm.so
|
|
USE_RUBY= yes
|
|
USE_RUBY_EXTCONF= yes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
MAKE_ARGS= sitelibdir='$$(rubylibdir)' \
|
|
INSTALL_PROG="${INSTALL_PROGRAM}" \
|
|
INSTALL_DATA="${INSTALL_DATA}"
|
|
|
|
|
|
do-extract:
|
|
${MKDIR} ${WRKDIR}
|
|
${LN} -sf `cd ${PORTSDIR}/${RUBY_PORT}; ${MAKE} -V WRKDIR`/${PORTNAME} ${WRKDIR}/
|
|
|
|
.include <bsd.port.mk>
|