openbsd-ports/devel/perltidy/Makefile

38 lines
862 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.15 2011/05/01 21:00:03 jim Exp $
2009-06-17 15:06:33 -04:00
COMMENT = tool to indent and reformat perl scripts
V = 20101217
2009-06-17 15:06:33 -04:00
DISTNAME = Perl-Tidy-$V
PKGNAME = perltidy-$V
CATEGORIES = devel
2002-10-25 18:37:52 -04:00
2009-06-17 15:06:33 -04:00
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=perltidy/}
2009-06-17 15:06:33 -04:00
HOMEPAGE = http://perltidy.sourceforge.net/
2009-06-17 15:06:33 -04:00
MAINTAINER = Jim Razmus II <jim@openbsd.org>
2009-06-17 15:06:33 -04:00
# GPL v2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
2009-06-17 15:06:33 -04:00
CONFIGURE_STYLE = perl
2010-10-18 13:47:50 -04:00
USE_GROFF = Yes
2009-06-17 15:06:33 -04:00
PKG_ARCH = *
2009-06-17 15:06:33 -04:00
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>