Changeset 79572
- Timestamp:
- 06/18/11 13:47:47 (4 years ago)
- Location:
- trunk/dports/mail/sqlgrey
- Files:
-
- 2 edited
-
Portfile (modified) (3 diffs)
-
files/patch-Makefile.diff (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/mail/sqlgrey/Portfile
r79570 r79572 8 8 version 1.8.0-rc2 9 9 categories mail 10 maintainers pixilla .com:brad10 maintainers pixilla 11 11 platforms darwin 12 12 description SQLgrey is a postfix policy service implementing a grey-listing policy … … 14 14 homepage http://sqlgrey.sourceforge.net/ 15 15 master_sites sourceforge 16 17 supported_archs noarch 16 18 17 19 depends_lib port:p5-net-server \ … … 33 35 set sqlgreygroup ${sqlgreyuser} 34 36 35 pre-configure { 36 reinplace "s|@@PREFIX@@|${destroot}${prefix}|g" ${worksrcpath}/Makefile 37 reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/etc/sqlgrey.conf 38 reinplace "s|@@NAME@@|${name}|g" ${worksrcpath}/etc/sqlgrey.conf 39 reinplace "s|@@SQLGREYUSER@@|${sqlgreyuser}|g" ${worksrcpath}/etc/sqlgrey.conf 40 reinplace "s|@@SQLGREYGROUP@@|${sqlgreygroup}|g" ${worksrcpath}/etc/sqlgrey.conf 41 reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/sqlgrey-logstats.pl 42 reinplace "s|@@NAME@@|${name}|g" ${worksrcpath}/sqlgrey 43 reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/sqlgrey 44 reinplace "s|@@SQLGREYUSER@@|${sqlgreyuser}|g" ${worksrcpath}/sqlgrey 45 reinplace "s|@@SQLGREYGROUP@@|${sqlgreygroup}|g" ${worksrcpath}/sqlgrey 46 reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/tester.pl 37 post-patch { 38 reinplace "s|@@PREFIX@@|${prefix}|g" \ 39 ${worksrcpath}/etc/sqlgrey.conf \ 40 ${worksrcpath}/sqlgrey \ 41 ${worksrcpath}/sqlgrey-logstats.pl \ 42 ${worksrcpath}/tester.pl \ 43 ${worksrcpath}/Makefile 44 reinplace "s|@@DESTROOT@@|${destroot}|g" \ 45 ${worksrcpath}/Makefile 46 reinplace "s|@@NAME@@|${name}|g" \ 47 ${worksrcpath}/etc/sqlgrey.conf \ 48 ${worksrcpath}/sqlgrey 49 reinplace "s|@@SQLGREYUSER@@|${sqlgreyuser}|g" \ 50 ${worksrcpath}/etc/sqlgrey.conf \ 51 ${worksrcpath}/sqlgrey 52 reinplace "s|@@SQLGREYGROUP@@|${sqlgreygroup}|g" \ 53 ${worksrcpath}/etc/sqlgrey.conf \ 54 ${worksrcpath}/sqlgrey 47 55 } 48 56 -
trunk/dports/mail/sqlgrey/files/patch-Makefile.diff
r79570 r79572 4 4 INSTALL = install 5 5 -ETCDIR = $(ROOTDIR)/etc 6 +ETCDIR = @@ PREFIX@@/etc6 +ETCDIR = @@DESTROOT@@@@PREFIX@@/etc 7 7 CONFDIR = $(ETCDIR)/sqlgrey 8 8 -SBINDIR = $(ROOTDIR)/usr/sbin 9 9 -BINDIR = $(ROOTDIR)/usr/bin 10 +SBINDIR = @@ PREFIX@@/sbin11 +BINDIR = @@ PREFIX@@/bin10 +SBINDIR = @@DESTROOT@@@@PREFIX@@/sbin 11 +BINDIR = @@DESTROOT@@@@PREFIX@@/bin 12 12 INITDIR = $(ETCDIR)/init.d 13 13 -MANDIR = $(ROOTDIR)/usr/share/man/man1 14 +MANDIR = @@ PREFIX@@/share/man/man114 +MANDIR = @@DESTROOT@@@@PREFIX@@/share/man/man1 15 15 16 16 VERSION := $(shell cat VERSION)
Note: See TracChangeset
for help on using the changeset viewer.

