openbsd-ports/sysutils/detox/Makefile
2012-05-24 11:35:29 +00:00

42 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 2012/05/24 11:35:29 kirby Exp $
COMMENT = utility designed to clean up filenames
DISTNAME = detox-1.2.0
CATEGORIES = sysutils
HOMEPAGE = http://detox.sourceforge.net/
#BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += c
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=detox/}
EXTRACT_SUFX = .tar.bz2
USE_GMAKE = Yes
CONFIGURE_STYLE = gnu
NO_REGRESS = Yes
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/detox
${INSTALL_DATA_DIR} ${PREFIX}/share/detox
${INSTALL_PROGRAM} ${WRKBUILD}/detox ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKBUILD}/inline-detox ${PREFIX}/bin
${INSTALL_MAN} ${WRKBUILD}/detox.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKBUILD}/detoxrc.5 ${PREFIX}/man/man5
${INSTALL_MAN} ${WRKBUILD}/detox.tbl.5 ${PREFIX}/man/man5
${INSTALL_DATA} ${WRKBUILD}/detoxrc ${PREFIX}/share/examples/detox
${INSTALL_DATA} ${WRKBUILD}/iso8859_1.tbl ${PREFIX}/share/detox
${INSTALL_DATA} ${WRKBUILD}/unicode.tbl ${PREFIX}/share/detox
.include <bsd.port.mk>