pkg-plist and installing under multiple prefixes

Cyrille Lefevre clefevre-lists at 9online.fr
Thu Jun 17 15:31:36 GMT 2004


"Sam Lawrance" <boris at brooknet.com.au> wrote:
> 
> 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

PLIST_FILES += @cwd %%X11BASE%%
PLIST_FILES += share/gnome/applications/xyzzy.desktop
...
PLIST_FILES += @cwd %%PREFIX%%

not tested, but should work.

Cyrille Lefevre.
-- 
home: mailto:cyrille.lefevre at laposte.net


More information about the freebsd-ports mailing list