Changeset View
Changeset View
Standalone View
Standalone View
head/sysutils/file/Makefile
# Created by: Jason Harris <jharris@widomaker.com> | # Created by: Jason Harris <jharris@widomaker.com> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= file | PORTNAME= file | ||||
PORTVERSION= 5.34 | PORTVERSION= 5.36 | ||||
CATEGORIES= sysutils | CATEGORIES= sysutils | ||||
MASTER_SITES= ftp://ftp.astron.com/pub/file/ \ | MASTER_SITES= ftp://ftp.astron.com/pub/file/ \ | ||||
ftp://ftp.fu-berlin.de/unix/tools/file/ | ftp://ftp.fu-berlin.de/unix/tools/file/ | ||||
MAINTAINER= jharris@widomaker.com | MAINTAINER= jharris@widomaker.com | ||||
COMMENT= Utility to determine file type | COMMENT= Utility to determine file type | ||||
LICENSE= BSD2CLAUSE | LICENSE= BSD2CLAUSE | ||||
LICENSE_FILE= ${WRKSRC}/COPYING | LICENSE_FILE= ${WRKSRC}/COPYING | ||||
USES= libtool | USES= libtool | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
CONFIGURE_ARGS= --enable-fsect-man5 | CONFIGURE_ARGS= --enable-fsect-man5 | ||||
MAKE_ENV= INSTALL_STRIP_FLAG="${STRIP}" | MAKE_ENV= INSTALL_STRIP_FLAG="${STRIP}" | ||||
TEST_TARGET= check | TEST_TARGET= check | ||||
CONFLICTS= tct-[0-9]* | |||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|$$(datadir)/misc|$$(datadir)/${PORTNAME}|g' \ | @${REINPLACE_CMD} -e 's|$$(datadir)/misc|$$(datadir)/${PORTNAME}|g' \ | ||||
${WRKSRC}/configure | ${WRKSRC}/configure | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |