diff options
author | pav <pav@FreeBSD.org> | 2006-11-17 22:55:41 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-11-17 22:55:41 +0800 |
commit | 5546dbc06d93ea14982aaa9e429899de97c6aeb3 (patch) | |
tree | b332dd08492c3c06e6fc3ec03c258d8328e32d22 | |
parent | 036ebae98823efa1f85b5c96236d3e7491e94e54 (diff) | |
download | freebsd-ports-gnome-5546dbc06d93ea14982aaa9e429899de97c6aeb3.tar.gz freebsd-ports-gnome-5546dbc06d93ea14982aaa9e429899de97c6aeb3.tar.zst freebsd-ports-gnome-5546dbc06d93ea14982aaa9e429899de97c6aeb3.zip |
- Fix png, jpeg library detection
PR: ports/105027
Submitted by: Derek Marcotte <derek.4548bfb0@razorfever.net>
- Fix plist
-rw-r--r-- | graphics/gnofract4d/Makefile | 15 | ||||
-rw-r--r-- | graphics/gnofract4d/pkg-plist | 6 |
2 files changed, 10 insertions, 11 deletions
diff --git a/graphics/gnofract4d/Makefile b/graphics/gnofract4d/Makefile index bb9daa4384f1..fc11e483448e 100644 --- a/graphics/gnofract4d/Makefile +++ b/graphics/gnofract4d/Makefile @@ -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> diff --git a/graphics/gnofract4d/pkg-plist b/graphics/gnofract4d/pkg-plist index de1210c7dcde..42ba87df2d59 100644 --- a/graphics/gnofract4d/pkg-plist +++ b/graphics/gnofract4d/pkg-plist @@ -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 |