using the PHP FileInfo extension, the UNIX 'file' command, user supplied mime data, or file extension lookups. It is distributed with it's own magic library for use with the PHP FileInfo extension to make mime detection more consistent in different environments. WWW: http://drupal.org/project/mimedetect PR: ports/131379 Submitted by: Wen Heping <wenheping at gmail.com>
24 lines
610 B
Makefile
24 lines
610 B
Makefile
# New ports collection makefile for: drupal6-mimedetect
|
|
# Date created: 05 Feb,2009
|
|
# Whom: Wen Heping <wenheping@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mimedetect
|
|
DISTVERSION= 6.x-1.0
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://ftp.drupal.org/files/projects/
|
|
|
|
MAINTAINER= wenheping@gmail.com
|
|
COMMENT= An API for Consistent Server Side Mime Detection
|
|
|
|
DRUPAL6_MODULE= yes
|
|
|
|
MODULE_FILES= magic magic.mgc magic.mime \
|
|
mimedetect.info mimedetect.install mimedetect.module
|
|
DOC_FILES= LICENSE.txt README.txt
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.include "${.CURDIR}/../../www/drupal5/bsd.drupal.mk"
|
|
.include <bsd.port.post.mk>
|