Changeset View
Changeset View
Standalone View
Standalone View
security/libpwstor/Makefile
# Created by: Matt Harris <mattdharris@users.sourceforge.net> | # Created by: Matt Harris <mattdharris@users.sourceforge.net> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= libpwstor | PORTNAME= libpwstor | ||||
PORTVERSION= 0.1 | PORTVERSION= 0.1 | ||||
PORTREVISION= 1 | PORTREVISION= 1 | ||||
CATEGORIES= security devel | CATEGORIES= security devel | ||||
MASTER_SITES= SF/kageki/${PORTNAME}/${PORTNAME}-${PORTVERSION} | MASTER_SITES= SF/kageki/${PORTNAME}/${PORTNAME}-${PORTVERSION} | ||||
MAINTAINER= ports@FreeBSD.org | MAINTAINER= ports@FreeBSD.org | ||||
COMMENT= Password storage library for C programmers | COMMENT= Password storage library for C programmers | ||||
USES= ssl tar:bzip2 | USES= ssl tar:bzip2 | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
DEBUG_CONFIGURE_ENABLE= debug | |||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if ${ARCH} != "i386" | .if ${ARCH} != "i386" | ||||
CFLAGS+= -fPIC -DPIC | CFLAGS+= -fPIC -DPIC | ||||
.endif | |||||
.if defined(WITH_DEBUG) | |||||
CONFIGURE_ARGS+=--enable-debug | |||||
.endif | .endif | ||||
post-install: | post-install: | ||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pwtool | ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pwtool | ||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpwstor.so | ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpwstor.so | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |