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 @@ -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 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