View | Details | Raw Unified | Return to bug 108602
Collapse All | Expand All

(-)dwm/Makefile (-8 / +9 lines)
Lines 16-32 Link Here
16
16
17
USE_XLIB=	yes
17
USE_XLIB=	yes
18
18
19
MAN1=		dwm.1
20
PLIST_FILES=	bin/dwm
21
19
pre-everything::
22
pre-everything::
20
		@${ECHO} ==================================================================
23
	@${ECHO_MSG} "You can build dwm with your own config.h using the DWM_CONF knob:"
21
		@${ECHO} You may build dwm with your own config.h, just use DWM_CONF knob:
24
	@${ECHO_MSG} "make DWM_CONF=/path/to/dwm/config.h install clean"
22
		@${ECHO} make DWM_CONF=/path/to/dwm/config.h install clean
25
	@${ECHO_MSG} "Note: Pre-3.2 config.h-files no longer work."
23
		@${ECHO} ==================================================================
24
26
27
post-extract:
25
.if defined(DWM_CONF)
28
.if defined(DWM_CONF)
26
	@${CP} {$DWM_CONF} ${WRKSRC}/config.h
29
	@${ECHO_MSG} "creating config.h from ${DWM_CONF}"
30
	@${CP} ${DWM_CONF} ${WRKSRC}/config.h
27
.endif
31
.endif
28
29
MAN1=		dwm.1
30
PLIST_FILES=	bin/dwm
31
32
32
.include <bsd.port.mk>
33
.include <bsd.port.mk>

Return to bug 108602