Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / lang / onyx / patches / patch-bin_onyx__config_Cookfile.inc.in
blob6e90afd225181fb643b41e059b759d0206560b48
1 $NetBSD$
3 --- bin/onyx_config/Cookfile.inc.in.orig        2005-03-17 07:55:08.000000000 +0000
4 +++ bin/onyx_config/Cookfile.inc.in
5 @@ -72,22 +72,22 @@ onyx_config_bins_install : [ONYX_CONFIG]
6                             mods_install
7                             onyx_bins_install
8  {
9 -  @INSTALL@ -d [BINDIR];
10 +  @INSTALL@ -d [DESTDIR][BINDIR];
12 -  @INSTALL@ -m 0755 [ONYX_CONFIG] [BINDIR]/onyx_config-@onyx_version@;
13 -  rm -f [BINDIR]/onyx_config;
14 -  ln -s onyx_config-@onyx_version@ [BINDIR]/onyx_config;
15 +  @INSTALL@ -m 0755 [ONYX_CONFIG] [DESTDIR][BINDIR]/onyx_config-@onyx_version@;
16 +  rm -f [DESTDIR][BINDIR]/onyx_config;
17 +  ln -s onyx_config-@onyx_version@ [DESTDIR][BINDIR]/onyx_config;
19 -  @INSTALL@ -d [MANDIR]/man1;
20 +  @INSTALL@ -d [DESTDIR][MANDIR]/man1;
21    @INSTALL@ -m 0444 @objroot@/bin/onyx_config/man/man1/onyx_config.1
22 -            [MANDIR]/man1;
23 +            [DESTDIR][MANDIR]/man1;
24  }
26  onyx_config_bins_uninstall :
27  {
28 -  rm -f [BINDIR]/onyx_config-@onyx_version@;
29 -  rm -f [BINDIR]/onyx_config;
30 -  rm -f [MANDIR]/man1/onyx_config.1;
31 +  rm -f [DESTDIR][BINDIR]/onyx_config-@onyx_version@;
32 +  rm -f [DESTDIR][BINDIR]/onyx_config;
33 +  rm -f [DESTDIR][MANDIR]/man1/onyx_config.1;
34  }
36  onyx_config_bins_clean :