openbsd-ports/devel/perltidy/Makefile
jim 39749746c3 Update to version 20101217
This release corrects some minor bugs and adds several useful features including an --iterations flag, plus pre- and post-filters for customization. A better guess is made for the starting indentation level of old code with tabs.

ok sthen@
2011-05-01 21:00:03 +00:00

38 lines
862 B
Makefile

# $OpenBSD: Makefile,v 1.15 2011/05/01 21:00:03 jim Exp $
COMMENT = tool to indent and reformat perl scripts
V = 20101217
DISTNAME = Perl-Tidy-$V
PKGNAME = perltidy-$V
CATEGORIES = devel
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=perltidy/}
HOMEPAGE = http://perltidy.sourceforge.net/
MAINTAINER = Jim Razmus II <jim@openbsd.org>
# GPL v2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
CONFIGURE_STYLE = perl
USE_GROFF = Yes
PKG_ARCH = *
DOCS = tutorial.pod testfile.pl stylekey.pod
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/perltidy
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/perltidy
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/docs/${f} ${PREFIX}/share/doc/perltidy
.endfor
${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/perltidy
.include <bsd.port.mk>