2017-05-18 08:38:48 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2017/05/18 08:38:48 benoit Exp $
|
2011-08-18 07:58:39 +00:00
|
|
|
|
|
|
|
COMMENT= interface to URL shortening sites
|
|
|
|
|
2017-05-18 08:38:48 +00:00
|
|
|
DISTNAME = WWW-Shorten-3.093
|
2011-08-18 07:58:39 +00:00
|
|
|
CATEGORIES= www
|
|
|
|
|
2017-05-18 08:38:48 +00:00
|
|
|
# Perl
|
2011-08-18 07:58:39 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
|
|
|
MODULES= cpan
|
2016-03-20 19:56:05 +00:00
|
|
|
PKG_ARCH= *
|
2011-08-18 07:58:39 +00:00
|
|
|
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
RUN_DEPENDS= devel/p5-Config-Auto \
|
|
|
|
www/p5-libwww
|
2012-04-07 08:29:48 +00:00
|
|
|
MAKE_ENV+= TEST_POD=1
|
2011-08-18 07:58:39 +00:00
|
|
|
|
2011-11-08 12:48:55 +00:00
|
|
|
# Resolve conflict with audio/shorten
|
|
|
|
post-install:
|
|
|
|
mv ${PREFIX}/bin/shorten ${PREFIX}/bin/shorten.pl
|
2011-11-08 12:50:23 +00:00
|
|
|
mv ${PREFIX}/man/man1/shorten.1 ${PREFIX}/man/man1/shorten.pl.1
|
2011-11-08 12:48:55 +00:00
|
|
|
|
2011-08-18 07:58:39 +00:00
|
|
|
.include <bsd.port.mk>
|