![](https://secure.gravatar.com/avatar/5b6d48e1eba83eb2ac7327b9bf536410.jpg?s=120&d=mm&r=g)
#57: netpbm - configfile -------------------------+-------------------------------------------------- Id: 57 | Status: new Component: ports | Modified: Fri Jan 20 23:43:52 2006 Severity: enhancement | Milestone: Priority: low | Version: Owner: jdolan | Reporter: danm@will.not.post.email.address -------------------------+-------------------------------------------------- {{{ - rm -rf $PKG/usr/{README,VERSION,link,man/web} - rm -rf $PKG/usr/{config_template,pkginfo,bin/doc.url} + (cd $PKG/usr/lib; ln -s libnetpbm.so.*\.* libnetpbm.so) + rm -rf $PKG/usr/{README,VERSION,link,man/web,pkginfo,bin/doc.url} + # config file hack + sed -e "s|@VERSION@|${version}|" \ + -e "s|@DATADIR@|/usr/share/netpbm|" \ + -e "s|@LINKDIR@|/usr/lib|" \ + -e "s|@INCLUDEDIR@|/usr/include|" \ + -e "s|@BINDIR@|/usr/bin|" \ + $PKG/usr/config_template | grep -v "^@" > \ + $PKG/usr/bin/$name-config + rm $PKG/usr/config_template + chmod 0755 $PKG/usr/bin/$name-config }}} -- Ticket URL: <http://crux.nu/cgi-bin/trac.cgi/ticket/57> CRUX <http://crux.nu/> CRUX