tweak the PREFIX only when not generating the package itself, so that

the correct directories are registered/unregistered during package addition
and removal.
This commit is contained in:
espie 2005-02-26 16:57:48 +00:00
parent 4e8bcfc35e
commit 01d47213b4
2 changed files with 109 additions and 103 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.2 2005/01/30 19:48:02 naddy Exp $
# $OpenBSD: Makefile,v 1.3 2005/02/26 16:57:48 espie Exp $
COMMENT= "eXtensible Open Router Platform"
DISTNAME= xorp-1.0
PKGNAME= ${DISTNAME}p0
CATEGORIES= net
HOMEPAGE= http://www.xorp.org/
@ -25,8 +26,11 @@ WANTLIB= c crypto curses m stdc++
USE_GMAKE= Yes
PREFIX= ${LOCALBASE}/xorp
CONFIGURE_STYLE=gnu
.if !defined(PACKAGING)
PREFIX=${LOCALBASE}/xorp
.endif
CONFIGURE_ARGS= --without-snmp --enable-optimize
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/config ${WRKSRC}/cli/libtecla

View File

@ -1,101 +1,103 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/01/25 21:19:22 naddy Exp $
bgp/
bgp/tools/
bgp/tools/xorpsh_print_peers
bgp/tools/xorpsh_print_routes
bgp/xorp_bgp
bin/call_xrl
bin/xorp_rtrmgr
bin/xorpsh
cli/
cli/tools/
cli/tools/send_cli_processor_xrl
etc/
etc/templates/
etc/templates/bgp.cmds
etc/templates/bgp.tp
etc/templates/fea.cmds
etc/templates/fea.tp
etc/templates/fib2mrib.tp
etc/templates/host.cmds
etc/templates/igmp.cmds
etc/templates/igmp.tp
etc/templates/interfaces.tp
etc/templates/mfea.cmds
etc/templates/mfea4.tp
etc/templates/mfea6.cmds
etc/templates/mfea6.tp
etc/templates/mld.cmds
etc/templates/mld.tp
etc/templates/ospf.tp
etc/templates/pim.cmds
etc/templates/pim6.cmds
etc/templates/pimsm4.tp
etc/templates/pimsm6.tp
etc/templates/rib.cmds
etc/templates/rib.tp
etc/templates/rip.cmds
etc/templates/rip.tp
etc/templates/ripng.tp
etc/templates/snmp.tp
etc/templates/static_routes.tp
etc/templates/xorpsh.cmds
fea/
fea/tools/
fea/tools/show_interfaces
fea/xorp_fea
fea/xorp_fea_dummy
fib2mrib/
fib2mrib/xorp_fib2mrib
libxipc/
libxipc/xorp_finder
mld6igmp/
mld6igmp/xorp_igmp
mld6igmp/xorp_mld
pim/
pim/xorp_pimsm4
pim/xorp_pimsm6
rib/
rib/tools/
rib/tools/show_routes
rib/xorp_rib
rip/
rip/tools/
rip/tools/show_peer_stats
rip/tools/show_stats
rip/xorp_rip
rip/xorp_ripng
static_routes/
static_routes/xorp_static_routes
xrl/
xrl/targets/
xrl/targets/bgp.xrls
xrl/targets/bgp4_mib.xrls
xrl/targets/cli.xrls
xrl/targets/coord.xrls
xrl/targets/demo_fea_ifmgr_client.xrls
xrl/targets/fea.xrls
xrl/targets/fea_ifmgr_mirror.xrls
xrl/targets/fib2mrib.xrls
xrl/targets/finder.xrls
xrl/targets/finder_client.xrls
xrl/targets/mfea.xrls
xrl/targets/mld6igmp.xrls
xrl/targets/ospf.xrls
xrl/targets/pim.xrls
xrl/targets/rib.xrls
xrl/targets/ribclient.xrls
xrl/targets/rip.xrls
xrl/targets/ripng.xrls
xrl/targets/rtrmgr.xrls
xrl/targets/show_routes.xrls
xrl/targets/socket_server.xrls
xrl/targets/static_routes.xrls
xrl/targets/test.xrls
xrl/targets/test_fea_ifmgr_mirror.xrls
xrl/targets/test_finder_events.xrls
xrl/targets/test_peer.xrls
xrl/targets/test_socket4.xrls
xrl/targets/test_socket6.xrls
xrl/targets/xorp_if_mib.xrls
xrl/targets/xorpsh.xrls
@comment $OpenBSD: PLIST,v 1.2 2005/02/26 16:57:48 espie Exp $
xorp/
xorp/bgp/
xorp/bgp/tools/
xorp/bgp/tools/xorpsh_print_peers
xorp/bgp/tools/xorpsh_print_routes
xorp/bgp/xorp_bgp
xorp/bin/
xorp/bin/call_xrl
xorp/bin/xorp_rtrmgr
xorp/bin/xorpsh
xorp/cli/
xorp/cli/tools/
xorp/cli/tools/send_cli_processor_xrl
xorp/etc/
xorp/etc/templates/
xorp/etc/templates/bgp.cmds
xorp/etc/templates/bgp.tp
xorp/etc/templates/fea.cmds
xorp/etc/templates/fea.tp
xorp/etc/templates/fib2mrib.tp
xorp/etc/templates/host.cmds
xorp/etc/templates/igmp.cmds
xorp/etc/templates/igmp.tp
xorp/etc/templates/interfaces.tp
xorp/etc/templates/mfea.cmds
xorp/etc/templates/mfea4.tp
xorp/etc/templates/mfea6.cmds
xorp/etc/templates/mfea6.tp
xorp/etc/templates/mld.cmds
xorp/etc/templates/mld.tp
xorp/etc/templates/ospf.tp
xorp/etc/templates/pim.cmds
xorp/etc/templates/pim6.cmds
xorp/etc/templates/pimsm4.tp
xorp/etc/templates/pimsm6.tp
xorp/etc/templates/rib.cmds
xorp/etc/templates/rib.tp
xorp/etc/templates/rip.cmds
xorp/etc/templates/rip.tp
xorp/etc/templates/ripng.tp
xorp/etc/templates/snmp.tp
xorp/etc/templates/static_routes.tp
xorp/etc/templates/xorpsh.cmds
xorp/fea/
xorp/fea/tools/
xorp/fea/tools/show_interfaces
xorp/fea/xorp_fea
xorp/fea/xorp_fea_dummy
xorp/fib2mrib/
xorp/fib2mrib/xorp_fib2mrib
xorp/libxipc/
xorp/libxipc/xorp_finder
xorp/mld6igmp/
xorp/mld6igmp/xorp_igmp
xorp/mld6igmp/xorp_mld
xorp/pim/
xorp/pim/xorp_pimsm4
xorp/pim/xorp_pimsm6
xorp/rib/
xorp/rib/tools/
xorp/rib/tools/show_routes
xorp/rib/xorp_rib
xorp/rip/
xorp/rip/tools/
xorp/rip/tools/show_peer_stats
xorp/rip/tools/show_stats
xorp/rip/xorp_rip
xorp/rip/xorp_ripng
xorp/static_routes/
xorp/static_routes/xorp_static_routes
xorp/xrl/
xorp/xrl/targets/
xorp/xrl/targets/bgp.xrls
xorp/xrl/targets/bgp4_mib.xrls
xorp/xrl/targets/cli.xrls
xorp/xrl/targets/coord.xrls
xorp/xrl/targets/demo_fea_ifmgr_client.xrls
xorp/xrl/targets/fea.xrls
xorp/xrl/targets/fea_ifmgr_mirror.xrls
xorp/xrl/targets/fib2mrib.xrls
xorp/xrl/targets/finder.xrls
xorp/xrl/targets/finder_client.xrls
xorp/xrl/targets/mfea.xrls
xorp/xrl/targets/mld6igmp.xrls
xorp/xrl/targets/ospf.xrls
xorp/xrl/targets/pim.xrls
xorp/xrl/targets/rib.xrls
xorp/xrl/targets/ribclient.xrls
xorp/xrl/targets/rip.xrls
xorp/xrl/targets/ripng.xrls
xorp/xrl/targets/rtrmgr.xrls
xorp/xrl/targets/show_routes.xrls
xorp/xrl/targets/socket_server.xrls
xorp/xrl/targets/static_routes.xrls
xorp/xrl/targets/test.xrls
xorp/xrl/targets/test_fea_ifmgr_mirror.xrls
xorp/xrl/targets/test_finder_events.xrls
xorp/xrl/targets/test_peer.xrls
xorp/xrl/targets/test_socket4.xrls
xorp/xrl/targets/test_socket6.xrls
xorp/xrl/targets/xorp_if_mib.xrls
xorp/xrl/targets/xorpsh.xrls