bc8a492475
This is work-in-progress. Supplemental hooks will be added when they become necessary. The goal is to permit separate subsystems to tweak the package building process slightly. This should help e.g., python or qt2, for instance. Documentation will come when it's tested more thoroughly...
20 lines
569 B
Makefile
20 lines
569 B
Makefile
#-*- mode: Fundamental; tab-width: 4; -*-
|
|
# ex:ts=4 sw=4 filetype=make:
|
|
# $OpenBSD: gnu.port.mk,v 1.1 2001/08/25 11:23:46 espie Exp $
|
|
# Based on bsd.port.mk, originally by Jordan K. Hubbard.
|
|
# This file is in the public domain.
|
|
|
|
.if ${CONFIGURE_STYLE:L:Mdest}
|
|
CONFIGURE_ARGS+= --prefix='$${${DESTDIRNAME}}${PREFIX}'
|
|
.else
|
|
CONFIGURE_ARGS+= --prefix='${PREFIX}'
|
|
.endif
|
|
|
|
.if empty(CONFIGURE_STYLE:L:Mold)
|
|
. if ${CONFIGURE_STYLE:L:Mdest}
|
|
CONFIGURE_ARGS+= --sysconfdir='$${${DESTDIRNAME}}${SYSCONFDIR}'
|
|
. else
|
|
CONFIGURE_ARGS+= --sysconfdir='${SYSCONFDIR}'
|
|
. endif
|
|
.endif
|