graphics/ImageMagick now includes these modules, so this goes.
This commit is contained in:
parent
85b5b8e860
commit
e7d9f21f3f
@ -1,51 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.23 2008/10/02 20:36:04 simon Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= object-oriented Perl interface to ImageMagick
|
||||
|
||||
VER= 6.3.6
|
||||
DASHVER= 10
|
||||
DISTNAME= ImageMagick-${VER}-${DASHVER}
|
||||
PKGNAME= p5-PerlMagick-${VER}.${DASHVER}p1
|
||||
CATEGORIES= graphics devel
|
||||
|
||||
HOMEPAGE= http://www.imagemagick.org
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=imagemagick/}
|
||||
|
||||
# http://www.imagemagick.org/script/license.php
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
WANTLIB= freetype
|
||||
|
||||
RUN_DEPENDS= :ImageMagick-${VER}.${DASHVER}:graphics/ImageMagick
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS} \
|
||||
::print/ghostscript/gnu:patch
|
||||
LIB_DEPENDS= Magick.>=12.1,Wand.>=12.1::graphics/ImageMagick
|
||||
USE_X11= Yes
|
||||
|
||||
MODULES= cpan
|
||||
|
||||
WRKDIST= ${WRKDIR}/${DISTNAME:S/-${DASHVER}$//}
|
||||
WRKSRC= ${WRKDIST}/PerlMagick
|
||||
|
||||
CFLAGS+= -I${WRKDIR}
|
||||
|
||||
pre-configure:
|
||||
@cd ${WRKDIR} && ln -s print/ghostscript/gnu/ghostscript-8.62/src ghostscript
|
||||
@perl -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g; \
|
||||
s|%%X11BASE%%|${X11BASE}|g; \
|
||||
s|%%CFLAGS%%|${CFLAGS}|g;' ${WRKSRC}/Makefile.PL
|
||||
|
||||
pre-regress:
|
||||
@perl -pi -e 's|\@abs_top_srcdir\@|${WRKDIST}|g; \
|
||||
s|\@abs_top_builddir\@|${WRKDIST}|g; \
|
||||
s|\@MAGICK_CODER_MODULE_PATH\@|${WRKDIST}/coder|g; \
|
||||
s|\@MAGICK_CONFIGURE_SRC_PATH\@|${WRKDIST}/config|g; \
|
||||
s|\@MAGICK_CONFIGURE_BUILD_PATH\@|${WRKDIST}/config|g; \
|
||||
s|\@MAGICK_FILTER_MODULE_PATH\@|${WRKDIST}/filters|g;'\
|
||||
< ${WRKDIST}/magick.sh.in > ${WRKDIST}/magick.sh
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,5 +0,0 @@
|
||||
MD5 (ImageMagick-6.3.6-10.tar.gz) = mycQYgC9yHnQWDNVvIBS+g==
|
||||
RMD160 (ImageMagick-6.3.6-10.tar.gz) = yy5MWV5nQ+s3i6O6Tb319ttiHPE=
|
||||
SHA1 (ImageMagick-6.3.6-10.tar.gz) = a+X4sSW5Cq1YxNK9hvwEIgEIsS0=
|
||||
SHA256 (ImageMagick-6.3.6-10.tar.gz) = Dfj2txKR0Y3DXdCXXW3+kOsmuOq57UB3MfM48INOde8=
|
||||
SIZE (ImageMagick-6.3.6-10.tar.gz) = 9100940
|
@ -1,28 +0,0 @@
|
||||
$OpenBSD: patch-PerlMagick_Makefile_PL,v 1.12 2007/11/22 17:20:56 okan Exp $
|
||||
--- PerlMagick/Makefile.PL.orig Tue Nov 6 21:29:54 2007
|
||||
+++ PerlMagick/Makefile.PL Mon Nov 19 15:24:16 2007
|
||||
@@ -59,13 +59,13 @@ WriteMakefile
|
||||
'DEFINE' => ' -D_LARGE_FILES=1 -DHAVE_CONFIG_H', # e.g., '-DHAVE_SOMETHING'
|
||||
|
||||
# Header search specfication and preprocessor flags
|
||||
- 'INC' => '-I../ -I.. -I/usr/include/freetype2 -I/usr/include/libxml2',
|
||||
+ 'INC' => '-I../ -I.. -I%%X11BASE%%/include/freetype2 -I%%X11BASE%%/include/libxml2',
|
||||
|
||||
# C pre-processor flags (e.g. -I & -D options)
|
||||
# 'CPPFLAGS' => "$Config{'cppflags'} -I/usr/include/freetype2 -I/usr/include/libxml2",
|
||||
|
||||
# C compiler flags (e.g. -O -g)
|
||||
- 'CCFLAGS' => "$Config{'ccflags'} -O3 -g -Wall -W -pthread",
|
||||
+ 'CCFLAGS' => "$Config{'ccflags'} %%CFLAGS%%",
|
||||
|
||||
# Linker flags for building an executable
|
||||
'LDFLAGS' => "-L../magick/.libs -lMagick -L../wand/.libs -lWand $Config{'ldflags'} -L/usr/lib64 -lfreetype",
|
||||
@@ -77,7 +77,7 @@ WriteMakefile
|
||||
'INSTALLBIN' => '/usr/bin',
|
||||
|
||||
# Library specification
|
||||
- 'LIBS' => [ '-L/usr/lib -L../magick/.libs -lMagick -L../wand/.libs -lWand' ],
|
||||
+ 'LIBS' => [ '-L%%LOCALBASE%%/lib -L%%X11BASE%%/lib -L../magick/.libs -lMagick -L../wand/.libs -lWand' ],
|
||||
|
||||
# Perl binary name (if a Perl binary is built)
|
||||
'MAP_TARGET' => 'PerlMagick',
|
@ -1,3 +0,0 @@
|
||||
PerlMagick is an objected-oriented Perl interface to ImageMagick. Use
|
||||
the module to read, manipulate, or write an image or image sequence from
|
||||
within a Perl script.
|
@ -1,11 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2004/09/15 00:50:10 espie Exp $
|
||||
${P5ARCH}/
|
||||
${P5ARCH}/Image/
|
||||
${P5ARCH}/Image/Magick.pm
|
||||
${P5ARCH}/auto/
|
||||
${P5ARCH}/auto/Image/
|
||||
${P5ARCH}/auto/Image/Magick/
|
||||
${P5ARCH}/auto/Image/Magick/Magick.bs
|
||||
${P5ARCH}/auto/Image/Magick/Magick.so
|
||||
${P5ARCH}/auto/Image/Magick/autosplit.ix
|
||||
@man man/man3p/Image::Magick.3p
|
Loading…
x
Reference in New Issue
Block a user