1 |
3 |
ahitrov@rambler.ru |
############################################################################## |
2 |
|
|
# $HeadURL: http://svn.dev.rambler.ru/Contenido/trunk/ports/all/PerlMagick/GNUmakefile $ |
3 |
|
|
# $Id: GNUmakefile 185 2006-06-19 14:52:11Z abavykin $ |
4 |
|
|
############################################################################### |
5 |
|
|
|
6 |
|
|
PORTVERSION = 6.24 |
7 |
|
|
PERL_MAKEMAKER = yes |
8 |
|
|
PERL_CHECK_MODULE = Image-Magick |
9 |
|
|
MASTER_CPAN_SUBDIR = Image |
10 |
|
|
PORT_DEPENDS = ImageMagick |
11 |
|
|
|
12 |
|
|
CONFIGURE_PRECMD = ${MAKE_RECURSIVE} pre-configure |
13 |
|
|
|
14 |
|
|
pre-configure: |
15 |
|
|
@cd ${WRKSRC} \ |
16 |
|
|
&& perl -pi -e "s|^(\s+'INC'\s+=>\s+)'(.+)'|\$$1'-I${PREFIX}/include \$$2'|" Makefile.PL \ |
17 |
|
|
&& perl -pi -e "s|^(\s+'LIBS'\s+=>\s+)\['(.+)'\]|\$$1\['-L${PREFIX}/lib \$$2'\]|" Makefile.PL |
18 |
|
|
|
19 |
|
|
|
20 |
|
|
include ../../etc/ports.mk |