8b35cace70
- also update license marker, the license has changed, it is now specifically Artistic 2.0 rather than "the same license as Perl".
29 lines
615 B
Makefile
29 lines
615 B
Makefile
# $OpenBSD: Makefile,v 1.4 2012/04/07 08:29:48 sthen Exp $
|
|
|
|
COMMENT= interface to URL shortening sites
|
|
|
|
DISTNAME= WWW-Shorten-3.03
|
|
CATEGORIES= www
|
|
|
|
# Artistic 2.0
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MODULES= cpan
|
|
|
|
CONFIGURE_STYLE= modbuild
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= devel/p5-Config-Auto \
|
|
www/p5-libwww
|
|
MAKE_ENV+= TEST_POD=1
|
|
|
|
# Resolve conflict with audio/shorten
|
|
post-install:
|
|
mv ${PREFIX}/bin/shorten ${PREFIX}/bin/shorten.pl
|
|
mv ${PREFIX}/man/man1/shorten.1 ${PREFIX}/man/man1/shorten.pl.1
|
|
|
|
.include <bsd.port.mk>
|