572f5ae6c5
graphics/tgif. The two ports were almost identical except for NLS support. The graphics/tgif now supports NLS by default and WITHOUT_NLS knob to disable it. - Add WITH_A4SIZE knob to set A4 as the default paper size. - Add a workaround for incorrect width calculation of wide characters. Approved by: maintainer
16 lines
364 B
Text
16 lines
364 B
Text
XCOMM $FreeBSD$
|
|
#ifdef WITH_NLS
|
|
#define IHaveSubdirs
|
|
SUBDIRS= po
|
|
|
|
LOCALEDIR= $(PREFIX)/share/locale
|
|
MOREDEFINES= -DUSE_XT_INITIALIZE -DENABLE_NLS
|
|
|
|
LOCAL_LIBRARIES= $(XLIB) $(XTOOLLIB)
|
|
EXTRA_INCLUDES+= -I$(LOCALBASE)/include
|
|
EXTRA_LIBRARIES+= -L$(LOCALBASE)/lib -lintl
|
|
#endif /* WITH_NLS */
|
|
|
|
#ifdef WITH_A4SIZE
|
|
MOREDEFINES+= -DA4PAPER
|
|
#endif /* WITH_A4SIZE */
|