Index: Makefile =================================================================== RCS file: /home/pcvs/ports/x11-toolkits/fltk/Makefile,v retrieving revision 1.57 diff -u -r1.57 Makefile --- Makefile 24 Oct 2011 13:12:23 -0000 1.57 +++ Makefile 26 Oct 2011 07:18:19 -0000 @@ -7,6 +7,7 @@ PORTNAME= fltk PORTVERSION= 1.3.0 +PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_EASYSW} MASTER_SITE_SUBDIR= fltk/${PORTVERSION} @@ -35,6 +36,9 @@ post-patch: ${REINPLACE_CMD} -e '30s/test //' ${WRKSRC}/Makefile + prefix="${PREFIX}" ; plength=$$(($${#prefix}+10)) ; \ + ${REINPLACE_CMD} -e "\|/etc/fltk|{s||${PREFIX}&|;s|10|$${plength}|;}" \ + ${WRKSRC}/src/Fl_Preferences.cxx .if !defined(NOPORTDOCS) PORTDOCS= * Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/x11-toolkits/fltk/pkg-plist,v retrieving revision 1.13 diff -u -r1.13 pkg-plist --- pkg-plist 24 Oct 2011 13:12:23 -0000 1.13 +++ pkg-plist 26 Oct 2011 07:23:25 -0000 @@ -158,4 +158,6 @@ lib/libfltk_images.so lib/libfltk_images.so.1 lib/libfltk_images.so.1.3 +@dirrmtry etc/fltk/fltk.org +@dirrmtry etc/fltk @dirrm include/FL