Ignore:
Timestamp:
01/10/2008 13:37:21 (4 years ago)
Author:
jamesog
Message:

Update FreeBSD port skeleton for 0.11rc2.
New features:

  • BDB is now autodetected for the client
  • Config dir is configurable via CONFDIR environment variable
  • Monthly periodic script to run store compare
  • Man pages!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/james/FreeBSD/Makefile

    r2078 r2308  
    77 
    88PORTNAME=       boxbackup 
    9 PORTVERSION=    0.11 
     9DISTVERSION=    0.11rc2 
    1010CATEGORIES=     sysutils 
    1111MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE} 
    1212MASTER_SITE_SUBDIR=${PORTNAME} 
     13PKGNAMESUFFIX=  ${CLIENT_OR_SERVER} 
    1314EXTRACT_SUFX=   .tgz 
    1415 
     
    1920GNU_CONFIGURE=  yes 
    2021USE_PERL5=      yes 
    21 USE_GCC=        3.2+ 
    22 USE_AUTOTOOLS=  autoconf:261 aclocal:19 autoheader:261 
     22USE_AUTOTOOLS=  autoconf:262 aclocal:19 autoheader:262 
    2323ACLOCAL_ARGS+=  -I ${WRKSRC}/infrastructure/m4 
    2424 
     
    5858ALL_TARGET+=    build-backup-client 
    5959INSTALL_TARGET+=install-backup-client 
     60MAN5+=          bbackupd.conf 
     61MAN8+=          bbackupd.8 bbackupctl.8 bbackupd-config.8 bbackupquery.8 
     62SUB_FILES+=     999.boxbackup 
    6063.else 
    6164PLIST_SUB+=     CLIENT="@comment " 
     
    6770ALL_TARGET+=    build-backup-server 
    6871INSTALL_TARGET+=install-backup-server 
     72MAN5+=          bbstored.conf raidfile.conf 
     73MAN8+=          bbstored.8 bbstoreaccounts.8 bbstored-certs.8 bbstored-config.8 raidfile-config.8 
    6974.else 
    7075PLIST_SUB+=     SERVER="@comment " 
     
    7479.if defined(WITHOUT_CLIENT) 
    7580CONFLICTS=      boxbackup-client-[0-9]* 
    76 PKGNAMESUFFIX=  -server 
     81CLIENT_OR_SERVER=-server 
    7782.elif defined(WITHOUT_SERVER) 
    7883CONFLICTS=      boxbackup-server-[0-9]* 
    79 PKGNAMESUFFIX=  -client 
     84CLIENT_OR_SERVER=-client 
    8085.endif 
    8186 
     
    9398                ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL 
    9499.endif 
     100 
     101do-install: 
     102        @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) 
     103.if !defined(WITHOUT_CLIENT) 
     104        @${MKDIR} ${PREFIX}/etc/periodic/monthly; \ 
     105         ${INSTALL_SCRIPT} ${WRKDIR}/999.boxbackup ${PREFIX}/etc/periodic/monthly 
     106.endif 
     107.for manpage in ${MAN5} 
     108        @${INSTALL_MAN} ${WRKSRC}/documentation/${manpage} ${PREFIX}/man/man5 
     109.endfor 
     110.for manpage in ${MAN8} 
     111        @${INSTALL_MAN} ${WRKSRC}/documentation/${manpage} ${PREFIX}/man/man8 
     112.endfor 
    95113 
    96114post-install: 
Note: See TracChangeset for help on using the changeset viewer.