openbsd-ports/devel/perltidy/Makefile

37 lines
836 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.7 2006/06/16 17:31:55 jasper Exp $
COMMENT= "tool to indent and reformat perl scripts"
V= 20060614
DISTNAME= Perl-Tidy-${V}
PKGNAME= perltidy-${V}
CATEGORIES= devel
2002-10-25 18:37:52 -04:00
2002-05-13 14:50:36 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=perltidy/}
HOMEPAGE= http://perltidy.sourceforge.net/
MAINTAINER= Jim Razmus <jim@bonetruck.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE=perl
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>