summaryrefslogblamecommitdiff
path: root/security/bugs/Makefile
blob: 414de5b17de6bc5371be23f2bcad2344af05a5ac (plain) (tree)
1
2
3
4
5
6
7
8
9
                                            


                                        
           

 
                            
                             
                                
                                                     
                            
 
                                                    
 













                                                                                                    


                                    




                                                        

                                              

                                             
                                             
                                              
                                             

                                                
                                               

                      
# New ports collection makefile for:	bugs
# Date created:		20 June 1998
# Whom:			Stephane Legrand
#
# $FreeBSD$
#

PORTNAME=		bugs
PORTVERSION=		3.3.2
CATEGORIES=		security
MASTER_SITES=		http://www.bcrypt.com/crypto/
EXTRACT_SUFX=		.tgz

MAINTAINER=		stephane.legrand@bigfoot.com

# No Manual page

# Cryptography = be extra careful...
NO_CDROM=	may contain export-restricted material
NO_PACKAGE=	may contain export-restricted material
RESTRICTED=	Cryptography

post-configure:
	(cd ${WRKSRC}; ${MAKE} bsd)
	${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.pre_sed
	${SED} -e 's:^INSTALL_PATH = "/usr/local/bugs-.*":INSTALL_PATH = "${PREFIX}/${DISTNAME}":' \
		-e 's/^install: instchoice all/install: instchoice/' \
		< ${WRKSRC}/Makefile.pre_sed > ${WRKSRC}/Makefile

pre-install:
	(cd ${WRKSRC}; ${MAKE} test)

post-install:
.if !defined(NOPORTDOCS)
	${CP} -R ${WRKSRC}/doc ${PREFIX}/${DISTNAME}
.endif
	${CP} -R ${WRKSRC}/include ${PREFIX}/${DISTNAME}
	strip ${PREFIX}/${DISTNAME}/bchat \
		${PREFIX}/${DISTNAME}/bcrypt \
		${PREFIX}/${DISTNAME}/bhide \
		${PREFIX}/${DISTNAME}/bkey \
		${PREFIX}/${DISTNAME}/block \
		${PREFIX}/${DISTNAME}/blogin \
		${PREFIX}/${DISTNAME}/bmore \
		${PREFIX}/${DISTNAME}/bpass \
		${PREFIX}/${DISTNAME}/bpassdel \
		${PREFIX}/${DISTNAME}/bunlock \

.include <bsd.port.mk>