mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-09 02:22:18 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
41 lines
1015 B
Makefile
41 lines
1015 B
Makefile
# New ports collection makefile for: Ruby/Ming
|
|
# Date created: 16 Oct 2000
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ming
|
|
PORTVERSION= 0.3.0.${RUBY_MING_VERSION}
|
|
PORTREVISION= 1
|
|
CATEGORIES+= graphics ruby
|
|
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
|
|
MASTER_SITE_SUBDIR= mingruby
|
|
PKGNAMEPREFIX?= ${RUBY_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME}-ruby-${RUBY_MING_VERSION}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= don@na.rim.or.jp
|
|
COMMENT= Yet another Ming module for Ruby
|
|
|
|
LIB_DEPENDS?= ming.4:${PORTSDIR}/graphics/ming
|
|
|
|
RUBY_MING_VERSION= 0.1.7
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBY_SETUP= yes
|
|
CONFIGURE_ARGS= -- --with-ming-include=${PREFIX}/include/ming --with-ming-lib=${PREFIX}/lib
|
|
|
|
DOCS= ChangeLog ChangeLog.0 INSTALL LGPL NEWS README TODO
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${RUBY_MODEXAMPLESDIR}/
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
|
.for f in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|