openbsd-ports/sysutils/detox/Makefile
kili 09ddf91c6a detox is a program that renames files to make them easier to work
with under Unix and related operating systems.  Spaces and various
other unsafe characters (such as "$") get replaced with "_".  ISO
8859-1 (Latin-1) characters can be replaced as well, as can UTF-8
characters.  More details are contained in the detox.1 man page.

ok dcoppa@, landry@ (6 months ago)
2011-06-30 21:00:29 +00:00

42 lines
1.0 KiB
Makefile

# $OpenBSD:
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>