# New ports collection makefile for: Ruby/Freedb # Date created: 16 January 2002 # Whom: Akinori MUSHA aka knu # # $FreeBSD$ # PORTNAME= freedb PORTVERSION= 0.3.1 CATEGORIES= audio net ruby MASTER_SITES= http://davedd.free.fr/%SUBDIR%/ MASTER_SITE_SUBDIR= ruby-${PORTNAME} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTNAME= ruby-${PORTNAME}-${PORTVERSION} DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org USE_RUBY= yes USE_RUBY_EXTCONF= yes INSTALL_TARGET= site-install DOCS= README EXAMPLES= test.rb post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME} .for f in ${EXAMPLES} ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/ .endfor ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME} .for f in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ .endfor .endif .include