2004-08-09 08:23:07 +00:00
|
|
|
# New ports collection makefile for: portmanager
|
2004-07-31 17:18:26 +00:00
|
|
|
# Date created: April 23, 2004
|
2005-01-31 11:46:42 +00:00
|
|
|
# Whom: Michael C. Shultz <reso3w83@verizon.net>
|
2004-07-31 17:18:26 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2004-12-29 15:41:05 +00:00
|
|
|
PORTNAME= portmanager
|
2005-03-01 08:47:15 +00:00
|
|
|
PORTVERSION= 0.2.9
|
2005-09-20 11:58:59 +00:00
|
|
|
PORTREVISION= 8
|
2004-12-29 15:41:05 +00:00
|
|
|
#-----------------------------------------
|
|
|
|
#for local use, remove before submitting PR
|
2004-07-31 17:18:26 +00:00
|
|
|
CATEGORIES= sysutils
|
2004-12-29 15:41:05 +00:00
|
|
|
#CATEGORIES= local/sysutils
|
|
|
|
#VALID_CATEGORIES+= ${CATEGORIES} # for FreeBSD to accept our local category
|
|
|
|
#-----------------------------------------
|
2005-02-10 00:01:41 +00:00
|
|
|
MASTER_SITES= http://portmanager.sunsite.dk/distfiles/ \
|
|
|
|
${MASTER_SITE_SOURCEFORGE}
|
2005-01-21 15:35:48 +00:00
|
|
|
MASTER_SITE_SUBDIR= portmanager
|
2004-07-31 17:18:26 +00:00
|
|
|
|
2005-07-27 16:49:54 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-03-14 19:40:12 +00:00
|
|
|
COMMENT= FreeBSD installed ports status and safe update utility
|
2004-07-31 17:18:26 +00:00
|
|
|
|
2004-12-26 20:30:38 +00:00
|
|
|
MAN1= portmanager.1
|
2005-01-19 13:26:56 +00:00
|
|
|
MAN3= libMG.3 \
|
2005-01-31 11:46:42 +00:00
|
|
|
MGdbAdd.3 \
|
2005-01-19 13:26:56 +00:00
|
|
|
MGdbCreate.3 \
|
2005-01-21 15:35:48 +00:00
|
|
|
MGdbDelete.3 \
|
2005-01-19 13:26:56 +00:00
|
|
|
MGdbGetRecordQty.3 \
|
|
|
|
MGdbGoTop.3 \
|
|
|
|
MGdbSeek.3
|
2004-12-26 20:30:38 +00:00
|
|
|
|
2004-12-29 15:41:05 +00:00
|
|
|
USE_GMAKE= yes
|
2004-07-31 17:18:26 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
2004-08-08 15:03:20 +00:00
|
|
|
|
2005-02-09 12:48:10 +00:00
|
|
|
#
|
|
|
|
# if --with-bin=something then withvar=${PREFIX} + something
|
|
|
|
# else defaults to withvar=${PREFIX} + /bin
|
|
|
|
#
|
|
|
|
# so --with-bindir=/bin will become ${PREFIX}/bin at configure
|
|
|
|
# time.
|
|
|
|
#
|
|
|
|
CONFIGURE_ARGS= --with-prefix=${PREFIX} \
|
|
|
|
--with-bindir=/bin \
|
|
|
|
--with-etcdir=/etc/portmanager \
|
|
|
|
--with-pkgdbdir=/var/db/pkg \
|
|
|
|
--with-portsdir=${PORTSDIR} \
|
|
|
|
--with-sharedir=/share/portmanager \
|
|
|
|
--with-tempdir=/tmp
|
2005-02-08 06:27:38 +00:00
|
|
|
|
2005-09-17 20:09:50 +00:00
|
|
|
#
|
|
|
|
# In FreeBSD 6.0 dumps core when compiled WITHOUT debug symbols :(
|
|
|
|
# so for a temp fix just making the WITH_DEBUG non optional.
|
|
|
|
#
|
|
|
|
#.if defined(WITH_DEBUG)
|
2005-02-20 17:19:28 +00:00
|
|
|
CONFIGURE_ARGS+= --with-debug=yes
|
2005-09-17 20:09:50 +00:00
|
|
|
#.endif
|
2005-02-20 17:19:28 +00:00
|
|
|
|
2005-02-08 06:27:38 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2005-02-09 12:48:10 +00:00
|
|
|
USE_REINPLACE= yes
|
2005-02-08 06:27:38 +00:00
|
|
|
INSTALL_TARGET= install info
|
2004-08-08 15:03:20 +00:00
|
|
|
|
2005-09-17 20:09:50 +00:00
|
|
|
#pre-fetch:
|
|
|
|
#.if !defined(WITH_DEBUG)
|
|
|
|
# @${ECHO} "***********************************************************************"
|
|
|
|
# @${ECHO} "* portmanager *"
|
|
|
|
# @${ECHO} "***********************************************************************"
|
|
|
|
# @${ECHO} "* *"
|
|
|
|
# @${ECHO} "* WITH_DEBUG=yes enables debug support and all compile warnings *"
|
|
|
|
# @${ECHO} "* *"
|
|
|
|
# @${ECHO} "***********************************************************************"
|
|
|
|
#.endif
|
2005-02-24 01:29:14 +00:00
|
|
|
|
|
|
|
post-configure:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|VERSION "${PORTVERSION}"|VERSION "${PORTVERSION}_${PORTREVISION}"|g' \
|
|
|
|
${WRKSRC}/externVars.h
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2004-07-31 17:18:26 +00:00
|
|
|
.include <bsd.port.mk>
|