pkg-plist and installing under multiple prefixes

Sam Lawrance boris at brooknet.com.au
Thu Jun 17 03:57:15 GMT 2004


Hi,

I'm porting a binary distributiono of a java application.

Like a number of similar ports, it installs into ${PREFIX}/${PORTNAME}.
I want to also install gnome application entries, but these are usually
under ${X11BASE}/share/gnome/applications.

Just doing

PLIST_FILES += ${X11BASE}/share/gnome/applications/xyzzy.desktop

doesn't work, as ${PREFIX} is tacked on to the beginning so the plist
ends up containing

${PREFIX}/${X11BASE}/share/gnome/applications/xyzzy.desktop

Any pointers?

-Sam



More information about the freebsd-ports mailing list