freebsd-ports/www/rubygem-scrapi/Makefile
Philip M. Gollucci eac6867d0f - convert to RUBYGEM_AUTOPLIST
remove x-generate-plist and friends
- use RF macro and remove SUBDIR where possible
- remove some uneeded GEM_NAME=${DISTNAME}
  (this c/should be handled better in bsd.*.mk)

other deltas specific to individual ports:
  audio/rubygem-mp3info     - unbreak, fix packaging, bump PORTREVISION
  devel/rubygem-rapt        - adopt
  devel/rubygem-rspec       - remove BUILD_DEPENDS=RUN_DEPENDS -- neither set
  devel/rubygem-ruby2ruby   - add #' for vim highlight
  graphics/rubygem-extifr   - drop PORTREVISION=0
  graphics/rubygem-gd2      - add #' for vim highlight
  www/rubygem-rubyfulsoup   - swap GEM_NAME / DISTNAME for constistency

Sponsored by:   RideCharge Inc.
Tested on:      RideCharge's Tinderbox
Reviewed by:    stas
2009-04-09 00:11:47 +00:00

32 lines
805 B
Makefile

# New ports collection makefile for: rubygem-scrapi
# Date created: 29 Jan 2007
# Whom: IWATSUKI Hiroyuki <don@na.rim.or.jp>
#
# $FreeBSD$
#
PORTNAME= scrapi
PORTVERSION= 1.2.0
CATEGORIES= www rubygems
MASTER_SITES= RF
MAINTAINER= don@na.rim.or.jp
COMMENT= A scrAPI toolkit for Ruby
BUILD_DEPENDS= ${LOCALBASE}/${SPEC_DIR}/tidy-1.1.2.gemspec:${PORTSDIR}/textproc/rubygem-tidy \
tidy:${PORTSDIR}/www/tidy-lib
USE_RUBY= yes
USE_RUBYGEMS= yes
USE_LDCONFIG= yes
RUBYGEM_AUTOPLIST= yes
PLIST_FILES= ${GEM_LIB_DIR}/lib/tidy/libtidy.so
.include <bsd.port.pre.mk>
post-install:
${RM} -f ${LOCALBASE}/${GEM_LIB_DIR}/lib/tidy/libtidy.dll
${RM} -f ${LOCALBASE}/${GEM_LIB_DIR}/lib/tidy/libtidy.so
${LN} -sf ${LOCALBASE}/lib/libtidy.so ${PREFIX}/${GEM_LIB_DIR}/lib/tidy/
.include <bsd.port.post.mk>