freebsd-ports/graphics/ruby-libpng/Makefile

55 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: Ruby/libpng
# Date created: 27 Sep 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= libpng
PORTVERSION= 0.3.3
PORTREVISION= 3
CATEGORIES= graphics ruby
MASTER_SITES= ${MASTER_SITE_LOCAL}
# http://www.isc.meiji.ac.jp/~ee77038/ruby/program/
MASTER_SITE_SUBDIR= knu
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= ruby@FreeBSD.org
2003-02-18 06:20:09 +01:00
COMMENT= A libpng wrapper class for Ruby
2001-09-11 04:22:51 +02:00
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
INSTALL_TARGET= site-install
RUBY_RD_FILES= readme.ja.rd
DOCS_JA= readme.ja.txt \
${RUBY_RD_FILES} \
${RUBY_RD_HTML_FILES}
EXAMPLES_EN= es.png png.rb pngtest.rb pngtest.sh \
sample/0.png sample/1.png sample/2.png sample/3.png \
sample/4.png sample/5.png sample/6.png sample/7.png \
sample/8.png sample/9.png sample/pngcat.rb
post-configure:
2008-08-18 15:08:03 +02:00
@${REINPLACE_CMD} -E -e "s| -L'?\.'?||" ${WRKSRC}/Makefile
post-install:
.if !defined(NOPORTDOCS)
2002-10-06 23:08:30 +02:00
${MKDIR} ${RUBY_MODEXAMPLESDIR}
.for f in ${EXAMPLES_EN}
2002-10-06 23:08:30 +02:00
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
.endfor
2002-10-06 23:08:30 +02:00
${MKDIR} ${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_JA}
2002-10-06 23:08:30 +02:00
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif
.include <bsd.port.mk>