1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Fix png, jpeg library detection

PR:		ports/105027
Submitted by:	Derek Marcotte <derek.4548bfb0@razorfever.net>

- Fix plist
This commit is contained in:
Pav Lucistnik 2006-11-17 14:55:41 +00:00
parent 83b7db0846
commit c376fe707b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=177466
2 changed files with 10 additions and 11 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= gnofract4d
PORTVERSION= 3.1
PORTREVISION= 1
CATEGORIES= graphics gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -14,15 +15,12 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Weird GNOME fractal generator
USE_X_PREFIX= yes
USE_GNOME= gnomehack gnomeprefix gnometarget intlhack libgnomeui lthack \
pygtk2
USE_PYTHON= yes
USE_PYDISTUTILS=yes
USE_GCC= 3.4
PLIST_FILES= bin/gnofract4d
PORTDOCS= *
.include <bsd.port.pre.mk>
@ -37,13 +35,8 @@ post-patch:
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," ${WRKSRC}/gnofract4d
# where to install docs
@${REINPLACE_CMD} -e "s,share/doc/gnofract4d-%s/'.*,${DOCSDIR:C/${PREFIX}\///}'\,," ${WRKSRC}/setup.py
post-install:
.for dir in ${PREFIX}/lib/gnofract4d ${PREFIX}/share/gnofract4d ${PREFIX}/share/gnome/help/gnofract4d
@${FIND} ${dir} ! -type d | \
${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
@${FIND} ${dir} -type d | ${SORT} -r | \
${SED} "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST}
.endfor
# fixup library detection
@${REINPLACE_CMD} -e "s/libpng/libpng12/" ${WRKSRC}/setup.py
@${REINPLACE_CMD} -e "s,/usr/include/jpeglib.h,${LOCALBASE}/include/jpeglib.h," ${WRKSRC}/setup.py
.include <bsd.port.post.mk>

View File

@ -1,3 +1,4 @@
bin/gnofract4d
lib/gnofract4d/buildtools/__init__.py
lib/gnofract4d/buildtools/__init__.pyc
lib/gnofract4d/buildtools/__init__.pyo
@ -634,9 +635,14 @@ share/gnome/help/gnofract4d/C/tutorial002.xml
share/gnome/help/gnofract4d/C/tutorial003.xml
share/mime/packages/gnofract4d-mime.xml
share/pixmaps/gnofract4d-logo.png
@dirrmtry share/pixmaps
@dirrm share/gnome/help/gnofract4d/C/figures
@dirrm share/gnome/help/gnofract4d/C
@dirrm share/gnome/help/gnofract4d
@dirrm %%DATADIR%%/pixmaps
@dirrm %%DATADIR%%/maps
@dirrm %%DATADIR%%/formulas
@dirrm %%DATADIR%%
@dirrm lib/gnofract4d/fractutils
@dirrm lib/gnofract4d/fract4dgui
@dirrm lib/gnofract4d/fract4d