Date: Fri, 10 May 2013 15:15:14 +0200 From: claudiu vasadi <claudiu.vasadi@gmail.com> To: freebsd-ports@freebsd.org Subject: new port sysutils/itdb help needed regarding pkg-plist Message-ID: <CAM-i3ih_UoKbrti4b%2Bsx-H70rbZ84YskLmaEj3HxvMezQ9N-6g@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi people, I finished writing a new port for itdb (http://www.sivann.gr/software/itdb/) a web based asset inventory management tool. However, I'm confronted with a problem I cannot understand and fix and need your help. When running the 8 steps for checking the port, step 5 ("make deinstall" after "pkg_add") spits out the following error: pkg_delete: file '/usr/local/www/itdb/data/files' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/www/itdb/data/files' pkg_delete: couldn't entirely delete package `itdb-1.8' (perhaps the packing list is incorrectly specified?) This happens because the directory in question does not get created by the package (and of course there is nothing to be removed in this case) but does get created/remove by the port (upon make install/make deinstall). I don't really understand this behavior (what did I miss and where?). Below, the Makefile: # $FreeBSD$ PORTNAME= itdb DISTVERSION= 1.8 CATEGORIES= www MASTER_SITES= http://www.sivann.gr/software/itdb/ MAINTAINER= claudiu.vasadi@gmail.com COMMENT= A web based asset inventory management tool RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_sqlite.so:${PORTSDIR}/databases/php5-pdo_sqlite USE_GZ= yes USE_APACHE_RUN= 22+ USE_PHP= yes USE_SQLITE= yes NO_BUILD= yes do-install: ${MKDIR} ${WWWDIR} ${CP} -r ${WRKDIR}/${PORTNAME}/* ${WWWDIR}/ .include <bsd.port.mk> Any tip is appreciated. -- Best regards, Claudiu Vasadi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM-i3ih_UoKbrti4b%2Bsx-H70rbZ84YskLmaEj3HxvMezQ9N-6g>